FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | TIMER_INIT |
#define | TIMER_ENA |
Functions | |
void | pi_timer_conf_init (timer_cfg_u *cfg) |
Initialize timer config structure. More... | |
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... | |
Variables | |
static uint32_t | g_timer_state |
#define TIMER_ENA |
Referenced by pi_timer_irq_set(), pi_timer_start(), and pi_timer_stop().
#define TIMER_INIT |
Referenced by pi_timer_init().
|
static |
Referenced by pi_timer_init(), pi_timer_irq_set(), pi_timer_start(), and pi_timer_stop().