Files
Last update 5 years 4 months
Filesfirmwaredrivers | |
---|---|
.. | |
sys_messagebus.c | |
sys_messagebus.h | |
timer_a0.c | |
timer_a0.h | |
uart1.c | |
uart1.h |
timer_a0.h#ifndef __TIMER_A0_H__ #define __TIMER_A0_H__ #include "proj.h" enum timer_a0_event { TIMER_A0_EVENT_CCR0 = BIT0, TIMER_A0_EVENT_CCR1 = BIT1, TIMER_A0_EVENT_CCR2 = BIT2, TIMER_A0_EVENT_CCR3 = BIT3, TIMER_A0_EVENT_CCR4 = BIT4, TIMER_A0_EVENT_IFG = BIT5, }; volatile enum timer_a0_event timer_a0_last_event; volatile uint16_t timer_a0_ovf; void timer_a0_init(void); void timer_a0_halt(void); void timer_a0_delay(uint32_t microseconds); void timer_a0_delay_noblk(uint32_t microseconds); #endif