Microchip® Advanced Software Framework

TCC event enable/disable structure.

Event flags for the tcc_enable_events() and tcc_disable_events().

#include <tcc.h>

Data Fields

bool generate_event_on_channel [TCC_NUM_CHANNELS]
 Generate an output event on a channel capture/match. More...
 
bool generate_event_on_counter_event
 Generate an output event on counter boundary. More...
 
bool generate_event_on_counter_overflow
 Generate an output event on counter overflow/underflow. More...
 
bool generate_event_on_counter_retrigger
 Generate an output event on counter retrigger. More...
 
struct tcc_input_event_config input_config [2]
 Input events configuration. More...
 
bool on_event_perform_channel_action [TCC_NUM_CHANNELS]
 Perform the configured event action when an incoming channel event is signalled. More...
 
bool on_input_event_perform_action [2]
 Perform the configured event action when an incoming event is signalled. More...
 
struct tcc_output_event_config output_config
 Output event configuration. More...
 

bool tcc_events::generate_event_on_channel[TCC_NUM_CHANNELS]

Generate an output event on a channel capture/match.

Specify which channels will generate events

Referenced by tcc_disable_events(), and tcc_enable_events().

bool tcc_events::generate_event_on_counter_event

Generate an output event on counter boundary.

See tcc_event_output_action.

Referenced by tcc_disable_events(), and tcc_enable_events().

bool tcc_events::generate_event_on_counter_overflow

Generate an output event on counter overflow/underflow.

Referenced by tcc_disable_events(), and tcc_enable_events().

bool tcc_events::generate_event_on_counter_retrigger

Generate an output event on counter retrigger.

Referenced by tcc_disable_events(), and tcc_enable_events().

struct tcc_input_event_config tcc_events::input_config[2]

Input events configuration.

Referenced by tcc_disable_events(), and tcc_enable_events().

bool tcc_events::on_event_perform_channel_action[TCC_NUM_CHANNELS]

Perform the configured event action when an incoming channel event is signalled.

Referenced by tcc_disable_events(), and tcc_enable_events().

bool tcc_events::on_input_event_perform_action[2]

Perform the configured event action when an incoming event is signalled.

Referenced by tcc_disable_events(), and tcc_enable_events().

struct tcc_output_event_config tcc_events::output_config

Output event configuration.

Referenced by tcc_enable_events().