FreeRTOS port on GAP8/RISC-V
|
Data Fields | |
struct { | |
uint32_t enable:1 | |
uint32_t reset:1 | |
uint32_t irq_en:1 | |
uint32_t pad_0:1 | |
uint32_t mode:1 | |
uint32_t one_shot:1 | |
uint32_t presc_en:1 | |
uint32_t clk_source:1 | |
uint32_t presc_val:8 | |
uint32_t pad_1:15 | |
uint32_t timer64_en:1 | |
} | field |
uint32_t | word |
uint32_t timer_cfg_u::clk_source |
Timer's clock source : FLL or Ref32kHz.
Referenced by __pi_perf_enable_timer().
uint32_t timer_cfg_u::enable |
Enable/Start Timer.
Referenced by __pi_perf_enable_timer(), pi_timer_conf_init(), pi_timer_irq_set(), pi_timer_start(), system_core_clock_update(), and system_setup_systick().
struct { ... } timer_cfg_u::field |
Timer config bit fields.
Referenced by __pi_perf_enable_timer(), pi_timer_irq_set(), pi_timer_reset(), pi_timer_start(), system_core_clock_update(), and system_setup_systick().
uint32_t timer_cfg_u::irq_en |
Enable IRQ when counter matches compare value.
Referenced by __pi_perf_enable_timer(), pi_timer_irq_set(), system_core_clock_update(), and system_setup_systick().
uint32_t timer_cfg_u::mode |
Timer counting mode : increment or reset when counter = compare.
Referenced by __pi_perf_enable_timer(), pi_timer_conf_init(), pi_timer_irq_set(), system_core_clock_update(), and system_setup_systick().
uint32_t timer_cfg_u::one_shot |
Timer continous mode : enable or disable when counter = compare.
Referenced by __pi_perf_enable_timer(), and pi_timer_irq_set().
uint32_t timer_cfg_u::pad_0 |
Padding.
uint32_t timer_cfg_u::pad_1 |
Padding.
uint32_t timer_cfg_u::presc_en |
Enable prescaler.
Referenced by __pi_perf_enable_timer().
uint32_t timer_cfg_u::presc_val |
Prescaler value(only Timer_0/Timer_LO : Ftim = Fclk / (1 + val).
uint32_t timer_cfg_u::reset |
Reset Timer counter.
Referenced by __pi_perf_enable_timer(), pi_timer_conf_init(), pi_timer_reset(), system_core_clock_update(), and system_setup_systick().
uint32_t timer_cfg_u::timer64_en |
Enable 64 bit mode timer, using both Timer_0(LO) & TImer_1(HI).
uint32_t timer_cfg_u::word |
Timer config in 32bits format.
Referenced by pi_timer_init(), pi_timer_reset(), and pi_timer_start().