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.

Table 6-34. Parameters
Data directionParameter nameDescription

[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.

Table 6-35. Return Values
Return valueDescription

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