9.6.4.7.2 Function extint_chan_disable_callback()
Disables asynchronous callback generation for a given channel and type.
enum status_code extint_chan_disable_callback( const uint8_t channel, const enum extint_callback_type type)
Disables asynchronous callbacks for a given logical external interrupt channel and type.
Data direction | Parameter name | Description |
---|---|---|
[in] |
channel |
Logical channel to disable callback generation for |
[in] |
type |
Type of callback function callbacks to disable |
Returns
Status of the callback disable operation.
Return value | Description |
---|---|
STATUS_OK |
The callback was disabled successfully |
STATUS_ERR_INVALID_ARG |
If an invalid callback type was supplied |