Autodrone
Multi-Domain Vehicle
drv_worm.h File Reference

This file initializes the timer and GPIO interrupt for the arm rotation. More...

Go to the source code of this file.

Functions

void wormInit (void)
 Initializes the low level registers to set up timer 1 and GPIO interrupts. More...
 
void wormDrive (void)
 Sets the PWM going to the motor driver circuit. More...
 

Variables

bool arm1Hit
 
bool arm2Hit
 

Detailed Description

This file initializes the timer and GPIO interrupt for the arm rotation.

Author
Jeremy Wolfe
Date
17 MAR 2022

Function Documentation

◆ wormDrive()

void wormDrive ( void  )

Sets the PWM going to the motor driver circuit.

Returns
Void.

◆ wormInit()

void wormInit ( void  )

Initializes the low level registers to set up timer 1 and GPIO interrupts.

Returns
Void.

Variable Documentation

◆ arm1Hit

bool arm1Hit
extern

◆ arm2Hit

bool arm2Hit
extern