Classes | Typedefs | Functions | Variables
drv_timer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  timerHardware_t
 

Typedefs

typedef void timerCCCallbackPtr(uint8_t port, uint16_t capture)
 

Functions

void configTimeBase (TIM_TypeDef *tim, uint16_t period, uint8_t mhz)
 
void configureTimerCaptureCompareInterrupt (const timerHardware_t *timerHardwarePtr, uint8_t reference, timerCCCallbackPtr *callback)
 
void configureTimerChannelCallback (TIM_TypeDef *tim, uint8_t channel, uint8_t reference, timerCCCallbackPtr *callback)
 
void configureTimerInputCaptureCompareChannel (TIM_TypeDef *tim, const uint8_t channel)
 
void timerConfigure (const timerHardware_t *timerHardwarePtr, uint16_t period, uint8_t mhz)
 
void timerNVICConfigure (uint8_t irq)
 

Variables

const timerHardware_t timerHardware []
 

Typedef Documentation

typedef void timerCCCallbackPtr(uint8_t port, uint16_t capture)

Definition at line 24 of file drv_timer.h.

Function Documentation

void configTimeBase ( TIM_TypeDef tim,
uint16_t  period,
uint8_t  mhz 
)

Definition at line 198 of file drv_timer.c.

void configureTimerCaptureCompareInterrupt ( const timerHardware_t timerHardwarePtr,
uint8_t  reference,
timerCCCallbackPtr callback 
)

Definition at line 181 of file drv_timer.c.

void configureTimerChannelCallback ( TIM_TypeDef tim,
uint8_t  channel,
uint8_t  reference,
timerCCCallbackPtr callback 
)

Definition at line 147 of file drv_timer.c.

void configureTimerInputCaptureCompareChannel ( TIM_TypeDef tim,
const uint8_t  channel 
)

Definition at line 163 of file drv_timer.c.

void timerConfigure ( const timerHardware_t timerHardwarePtr,
uint16_t  period,
uint8_t  mhz 
)

Definition at line 215 of file drv_timer.c.

void timerNVICConfigure ( uint8_t  irq)

Definition at line 187 of file drv_timer.c.

Variable Documentation

const timerHardware_t timerHardware[]

Definition at line 74 of file drv_timer.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:50