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

[in]

module_inst

Software instance for the Analog Comparator peripheral

[in]

events

Struct containing flags of events to enable