Synergy Software Package User's Manual
agt_instance_ctrl_t Struct Reference

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

Detailed Description

Channel control block. DO NOT INITIALIZE. Initialization occurs when timer_api_t::open is called.

Field Documentation

◆ p_callback

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.

◆ p_context

void const* agt_instance_ctrl_t::p_context

Placeholder for user data. Passed to the user callback in timer_callback_args_t.


The documentation for this struct was generated from the following file: