Function ac_enable_events()

Enables an Analog Comparator event input or output.

void ac_enable_events(
		struct ac_module *const module_inst,
		struct ac_events *const events)

Enables one or more input or output events to or from the Analog Comparator module. See ac_events for a list of events this module supports.

Note: Events cannot be altered while the module is enabled.
Table 1. Parameters
Data direction Parameter name Description



Software instance for the Analog Comparator peripheral



Struct containing flags of events to enable