Logo
UNICENS V2.1.0-3491
User Manual and API Reference
typedef void(* Ucs_I2c_ReadPortResCb_t)(uint16_t node_address, uint16_t i2c_port_handle, uint8_t i2c_slave_address, uint8_t data_len, uint8_t data_ptr[], Ucs_I2c_Result_t result, void *user_ptr)

Callback function type to retrieve the result of the Gpio_ConfigPinMode function.

Parameters
node_addressThe node address of the device from where the results come
i2c_port_handleThe port resource handle.
i2c_slave_addressThe 7-bit I2C Port slave address of the peripheral from which the data have been read.
data_lenThe number of bytes read from the address.
data_ptrThe reference to the data list.
resultThe operation result
user_ptrUser reference provided in Ucs_InitData_t::user_ptr