Struct ac_events

Event flags for the Analog Comparator module. This is used to enable and disable events via ac_enable_events() and ac_disable_events().

Table 1. Members
Type Name Description
bool generate_event_on_state[]

If true, an event will be generated when a comparator state changes

bool generate_event_on_window[]

If true, an event will be generated when a comparator window state changes

bool on_event_sample[]

If true, a comparator will be sampled each time an event is received