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

[in]

resource

Pointer to an events_resource struct

Returns

Status of the event software procedure.

Table 2. Return Values
Return value Description

STATUS_OK

No error was detected when the software tigger signal was issued

STATUS_ERR_UNSUPPORTED_DEV

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