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 1. Parameters
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.

Table 2. Return Values
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