#include <xmc_eru.h>
Structure for initializing ERUx_ETLy (x = [0..1], y = [0..4]) module.
uint32_t edge_detection |
Configure the event trigger edge(FE, RE). Refer XMC_ERU_ETL_EDGE_DETECTION_t for valid values.
uint32_t enable_output_trigger |
Enables the generation of trigger pulse(PE), for the configured edge detection. This accepts boolean values as input.
uint32_t input |
While configuring the bit fields, the values have to be shifted according to the position
uint32_t input_a |
Configures input A. Refer XMC_ERU_ETL_INPUT_A_t for valid values
uint32_t input_b |
Configures input B. Refer XMC_ERU_ETL_INPUT_B_t for valid values
uint32_t output_trigger_channel |
Output channel select(OCS) for ETLx output trigger pulse. Refer XMC_ERU_ETL_OUTPUT_TRIGGER_CHANNEL_t for valid values.
uint32_t source |
Input path combination along with polarity for event generation. Refer XMC_ERU_ETL_SOURCE_t for valid values.
uint32_t status_flag_mode |
Enables the status flag auto clear(LD), for the opposite edge of the configured event edge. This accepts boolean values as input.