Microchip® Advanced Software Framework

events_config Struct Reference

Events configuration struct.

This event configuration struct is used to configure each of the channels.

#include <events.h>

Data Fields

uint8_t clock_source
 Clock source for the event channel. More...
 
enum events_edge_detect edge_detect
 Select edge detection mode. More...
 
uint8_t generator
 Set event generator for the channel. More...
 
enum events_path_selection path
 Select events channel path. More...
 

uint8_t events_config::clock_source

Clock source for the event channel.

Referenced by events_allocate(), and events_get_config_defaults().

enum events_edge_detect events_config::edge_detect

Select edge detection mode.

Referenced by events_allocate(), and events_get_config_defaults().

uint8_t events_config::generator

Set event generator for the channel.

Referenced by events_allocate(), and events_get_config_defaults().

enum events_path_selection events_config::path

Select events channel path.

Referenced by events_allocate(), and events_get_config_defaults().