Struct tcc_recoverable_fault_config

Table 1. Members
Type Name Description
enum tcc_fault_blanking blanking

Fault Blanking Start Point for recoverable Fault.

uint8_t blanking_cycles

Fault blanking value (0 ~ 255), disable input source for several TCC clocks after the detection of the waveform edge.

enum tcc_fault_capture_action capture_action

Capture action for recoverable Fault.

enum tcc_fault_capture_channel capture_channel

Channel triggered by recoverable Fault.

uint8_t filter_value

Fault filter value applied on MCEx event input line (0x0 ~ 0xF). Must be 0 when MCEx event is used as synchronous event. Apply to both recoverable and non-recoverable fault.

enum tcc_fault_halt_action halt_action

Halt action for recoverable Fault.

bool keep

Set to true to enable keep action (keep until end of TCC cycle).

bool qualification

Set to true to enable input qualification (disable input when output is inactive).

bool restart

Set to true to enable restart action.

enum tcc_fault_source source

Specifies if the event input generates recoverable Fault. The event system channel connected to MCEx event input must be configured as asynchronous.