XMC Peripheral Library for XMC4000 Family
XMC_ERU_ETL_CONFIG_t Struct Reference

#include <xmc_eru.h>

Detailed Description

Structure for initializing ERUx_ETLy (x = [0..1], y = [0..4]) module.

Field Documentation

◆ edge_detection

uint32_t edge_detection

Configure the event trigger edge(FE, RE). Refer XMC_ERU_ETL_EDGE_DETECTION_t for valid values.

◆ enable_output_trigger

uint32_t enable_output_trigger

Enables the generation of trigger pulse(PE), for the configured edge detection. This accepts boolean values as input.

◆ input

uint32_t input

While configuring the bit fields, the values have to be shifted according to the position

◆ input_a

uint32_t input_a

Configures input A. Refer XMC_ERU_ETL_INPUT_A_t for valid values

◆ input_b

uint32_t input_b

Configures input B. Refer XMC_ERU_ETL_INPUT_B_t for valid values

◆ output_trigger_channel

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.

◆ source

uint32_t source

Input path combination along with polarity for event generation. Refer XMC_ERU_ETL_SOURCE_t for valid values.

◆ status_flag_mode

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.


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