Function events_trigger()

Trigger software event.

enum status_code events_trigger(
		struct events_resource * resource)

Trigger an event by software.

Note: Software event works on either a synchronous path or resynchronized path, and edge detection must be configured to rising-edge detection.
Table 1. Parameters
Data direction Parameter name Description



Pointer to an events_resource struct


Status of the event software procedure.

Table 2. Return Values
Return value Description


No error was detected when the software tigger signal was issued


If the channel path is asynchronous and/or the edge detection is not set to RISING