Function events_release()

Release allocated channel back the the resource pool.

enum status_code events_release(
struct events_resource * resource)

Release an allocated channel back to the resource pool to make it available for other purposes.

Table 1. Parameters
Data direction Parameter name Description

[in]

resource

Pointer to an events_resource struct

Returns

Status of the channel release procedure.

Table 2. Return Values
Return value Description

STATUS_OK

No error was detected when the channel was released

STATUS_BUSY

One or more event users have not processed the last event

STATUS_ERR_NOT_INITIALIZED

Channel not allocated, and can therefore not be released