#include <T32CM11_timers.h>
Data Fields | |
| uint32_t | timer_start_value |
| tr_hal_timer_prescalar_t | prescalar |
| bool | timer_repeats |
| bool | timer_enabled |
| bool | interrupt_enabled |
| tr_hal_int_pri_t | interrupt_priority |
| tr_hal_timer_callback_t | event_handler_fx |
| bool | interrupt_is_active |
| uint32_t | timer_current_countdown_value |
Timers settings struct - this is passed to tr_hal_timer_init
this contains timer settings: timer starting value timer settings callback function current state (passed back on call to tr_hal_timer_read)
| tr_hal_timer_callback_t tr_hal_timer_settings_t::event_handler_fx |
| bool tr_hal_timer_settings_t::interrupt_enabled |
| bool tr_hal_timer_settings_t::interrupt_is_active |
| tr_hal_int_pri_t tr_hal_timer_settings_t::interrupt_priority |
| tr_hal_timer_prescalar_t tr_hal_timer_settings_t::prescalar |
| uint32_t tr_hal_timer_settings_t::timer_current_countdown_value |
| bool tr_hal_timer_settings_t::timer_enabled |
| bool tr_hal_timer_settings_t::timer_repeats |
| uint32_t tr_hal_timer_settings_t::timer_start_value |