FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gap9/pmsis/include/pmsis/implem/drivers/timer/timer.h File Reference

Typedefs

typedef timer_unit_cfg_lo_t timer_cfg_u
 

Enumerations

enum  timer_e
 

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...