Referred types used by the Extended Resource Manager. More...
Data Structures | |
struct | Ucs_I2c_ResultDetails_t |
Detailed information used for I2C results. More... | |
struct | Ucs_I2c_Result_t |
Result structure of the I2C Module. More... | |
Callback Functions | |
typedef void(* | Ucs_I2c_CreatePortResCb_t )(uint16_t node_address, uint16_t i2c_port_handle, Ucs_I2c_Result_t result, void *user_ptr) |
Callback function type to retrieve the result of the I2c_CreatePort function. | |
typedef void(* | Ucs_I2c_WritePortResCb_t )(uint16_t node_address, uint16_t i2c_port_handle, uint8_t i2c_slave_address, uint8_t data_len, Ucs_I2c_Result_t result, void *user_ptr) |
Callback function type to retrieve the result of the Gpio_ConfigPinMode function. | |
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. | |
typedef void(* | Ucs_I2c_IntEventReportCb_t )(uint16_t node_address, void *user_ptr) |
Callback function type to report the I2C interrupt event. | |
Enumerations | |
enum | Ucs_I2c_Speed_t { UCS_I2C_SLOW_MODE = 0x00U, UCS_I2C_FAST_MODE = 0x01U } |
The speed grade of the I2C Port. More... | |
enum | Ucs_I2c_TrMode_t { UCS_I2C_DEFAULT_MODE = 0x00U, UCS_I2C_REPEATED_MODE = 0x01U, UCS_I2C_BURST_MODE = 0x02U } |
The write transfer mode. More... | |
enum | Ucs_I2c_ResultCode_t { UCS_I2C_RES_SUCCESS = 0x00U, UCS_I2C_RES_ERR_CMD = 0x01U, UCS_I2C_RES_ERR_SYNC = 0x02U } |
Result codes of the I2C Module. More... | |
enum | Ucs_I2c_ResultType_t { UCS_I2C_RESULT_TYPE_TGT = 0x00U, UCS_I2C_RESULT_TYPE_TX = 0x01U } |
This enumerator specifies the kind of result - Target or Transmission. More... | |
Referred types used by the Extended Resource Manager.