Autodrone
Multi-Domain Vehicle
drv_worm.c File Reference

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

#include "board.h"

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...
 
void EXTI15_10_IRQHandler (void)
 

Variables

bool arm1Hit = false
 
bool arm2Hit = false
 

Detailed Description

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

Author
Jeremy Wolfe
Date
17 MAR 2022

Function Documentation

◆ EXTI15_10_IRQHandler()

void EXTI15_10_IRQHandler ( void  )

◆ 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 = false

◆ arm2Hit

bool arm2Hit = false