Microchip® Advanced Software Framework

tcc_recoverable_fault_config Struct Reference

Configuration struct for TCC module recoverable fault.

#include <tcc.h>

Data Fields

enum tcc_fault_blanking blanking
 Fault Blanking Start Point for recoverable Fault. More...
 
uint8_t blanking_cycles
 Fault blanking value (0 ~ 255), disable input source for several TCC clocks after the detection of the waveform edge. More...
 
enum tcc_fault_capture_action capture_action
 Capture action for recoverable Fault. More...
 
enum tcc_fault_capture_channel capture_channel
 Channel triggered by recoverable Fault. More...
 
uint8_t filter_value
 Fault filter value applied on MCEx event input line (0x0 ~ 0xF). More...
 
enum tcc_fault_halt_action halt_action
 Halt action for recoverable Fault. More...
 
bool keep
 Set to true to enable keep action (keep until end of TCC cycle) More...
 
bool qualification
 Set to true to enable input qualification (disable input when output is inactive) More...
 
bool restart
 Set to true to enable restart action. More...
 
enum tcc_fault_source source
 Specifies if the event input generates recoverable Fault. More...
 

enum tcc_fault_blanking tcc_recoverable_fault_config::blanking

Fault Blanking Start Point for recoverable Fault.

Referenced by _tcc_build_faults().

uint8_t tcc_recoverable_fault_config::blanking_cycles

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

Referenced by _tcc_build_faults().

enum tcc_fault_capture_action tcc_recoverable_fault_config::capture_action

Capture action for recoverable Fault.

Referenced by _tcc_build_faults().

enum tcc_fault_capture_channel tcc_recoverable_fault_config::capture_channel

Channel triggered by recoverable Fault.

Referenced by _tcc_build_faults().

uint8_t tcc_recoverable_fault_config::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.

Referenced by _tcc_build_faults().

enum tcc_fault_halt_action tcc_recoverable_fault_config::halt_action

Halt action for recoverable Fault.

Referenced by _tcc_build_faults(), configure_tcc(), and run_faultn_test().

bool tcc_recoverable_fault_config::keep

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

Referenced by _tcc_build_faults().

bool tcc_recoverable_fault_config::qualification

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

Referenced by _tcc_build_faults().

bool tcc_recoverable_fault_config::restart

Set to true to enable restart action.

Referenced by _tcc_build_faults().

enum tcc_fault_source tcc_recoverable_fault_config::source

Specifies if the event input generates recoverable Fault.

The event system channel connected to MCEx event input must be configured as asynchronous.

Referenced by _tcc_build_faults(), configure_tcc(), and run_faultn_test().