FreeRTOS port on GAP8/RISC-V
|
Data Structures | |
union | timer_cfg_u |
Macros | |
#define | fc_timer(id) |
#define | cl_timer(id) |
Enumerations | |
enum | timer_e |
Functions | |
void | pi_timer_init (timer_e timer, timer_cfg_u cfg, uint32_t cmp_val) |
Initialize a timer. More... | |
void | pi_timer_reset (timer_e timer) |
Reset a timer counter. More... | |
void | pi_timer_start (timer_e timer) |
Start a timer. More... | |
void | pi_timer_stop (timer_e timer) |
Stop a timer. More... | |
uint32_t | pi_timer_value_read (timer_e timer) |
Get a timer's counter value. More... | |
void | pi_timer_irq_set (timer_e timer, uint32_t time_us, uint8_t one_shot) |
Set timer to trigger IRQ. More... | |