AC event enable/disable structure.
Event flags for the Analog Comparator module. This is used to enable and disable events via ac_enable_events() and ac_disable_events().
#include <ac.h>
Data Fields | |
bool | generate_event_on_state [AC_NUM_CMP] |
If true , an event will be generated when a comparator state changes. More... | |
bool | generate_event_on_window [AC_PAIRS] |
If true , an event will be generated when a comparator window state changes. More... | |
bool | on_event_sample [AC_NUM_CMP] |
If true , a comparator will be sampled each time an event is received. More... | |
bool ac_events::generate_event_on_state[AC_NUM_CMP] |
If true
, an event will be generated when a comparator state changes.
Referenced by ac_disable_events(), ac_enable_events(), and configure_ac().
bool ac_events::generate_event_on_window[AC_PAIRS] |
If true
, an event will be generated when a comparator window state changes.
Referenced by ac_disable_events(), and ac_enable_events().
bool ac_events::on_event_sample[AC_NUM_CMP] |
If true
, a comparator will be sampled each time an event is received.
Referenced by ac_disable_events(), and ac_enable_events().