Synergy Software Package User's Manual
agt_input_capture_instance_ctrl_t Struct Reference

#include <r_agt_input_capture.h>

Data Fields

uint32_t open
 Whether or not channel is open.
 
uint8_t channel
 The channel in use.
 
uint8_t flags
 Input capture Event flags.
 
input_capture_mode_t mode
 The mode of measurement being performed.
 
input_capture_repetition_t repetition
 One-shot or periodic measurement.
 
volatile uint32_t capture_count
 The value of the timer captured at the time of interrupt.
 
volatile uint32_t overflows_current
 Running count of overflows in current measurement.
 
void(* p_callback )(input_capture_callback_args_t *p_args)
 Pointer to user callback.
 
void const * p_context
 Pointer to user's context data, to be passed to the callback function.
 
void * p_reg
 AGT base register for this channel.
 
IRQn_Type capture_irq
 Capture IRQ number.
 
IRQn_Type overflow_irq
 Overflow IRQ number.
 
volatile bool pulse_period_first_edge
 Whether the first edge in period has received.
 

Detailed Description

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


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