Function i2c_slave_unregister_callback()

Unregisters callback for the specified callback type.

void i2c_slave_unregister_callback(
		struct i2c_slave_module *const module,
		enum i2c_slave_callback callback_type)

Removes the currently registered callback for the given callback type.

Table 1. Parameters
Data direction Parameter name Description

[in, out]

module

Pointer to the software module struct

[in]

callback_type

Callback type to unregister