2.6.4.6.4 Function adc_disable_callback()

Disables callback.

void adc_disable_callback( struct adc_module *const module, enum adc_callback callback_type)

Disables the callback function registered by the adc_register_callback.

Table 2-31. Parameters
Data directionParameter nameDescription

[in]

module

Pointer to ADC software instance struct

[in]

callback_type

Callback type given by an enum

Returns

Status of the operation.

Table 2-32. Return Values
Return valueDescription

STATUS_OK

If operation was completed

STATUS_ERR_INVALID

If operation was not completed, due to invalid callback_type