6.6.4.6.2 Function dac_chan_disable_callback()
Disables asynchronous callback generation for a given channel and type.
enum status_code dac_chan_disable_callback( struct dac_module *const module, const enum dac_channel channel, const enum dac_callback type)
Disables asynchronous callbacks for a given logical DAC channel and type.
Data direction | Parameter name | Description |
---|---|---|
[in, out] |
dac_module |
Pointer to the DAC software instance struct |
[in] |
channel |
Logical channel to disable callback function |
[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_UNSUPPORTED_DEV |
If a callback that requires event driven mode was specified with a DAC instance configured in non-event mode |