![]() |
Synergy Software Package User's Manual
|
#include <r_agt.h>
Data Fields | |
| void(* | p_callback )(timer_callback_args_t *p_args) |
| void const * | p_context |
| void * | p_reg |
| Base register for this channel. | |
| uint32_t | open |
| Whether or not channel is open. | |
| uint16_t | period |
| Current timer period (counts) | |
| uint8_t | channel |
| Channel number. | |
| IRQn_Type | irq |
| Counter overflow IRQ number. | |
| timer_mode_t | mode |
| Timer mode. | |
Channel control block. DO NOT INITIALIZE. Initialization occurs when timer_api_t::open is called.
| void(* agt_instance_ctrl_t::p_callback) (timer_callback_args_t *p_args) |
Callback provided when a timer ISR occurs. NULL indicates no CPU interrupt.
| void const* agt_instance_ctrl_t::p_context |
Placeholder for user data. Passed to the user callback in timer_callback_args_t.