17.6.3.5.2 Function i2c_master_unregister_callback()

Unregisters callback for the specified callback type.

void i2c_master_unregister_callback( struct i2c_master_module *const module, enum i2c_master_callback callback_type)

When called, the currently registered callback for the given callback type will be removed.

Table 17-32. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software module struct

[in]

callback_type

Specifies the callback type to unregister