Functions | |
void | Cy_SCB_I2C_Interrupt (CySCB_Type *base, cy_stc_scb_i2c_context_t *context) |
void | Cy_SCB_I2C_SlaveInterrupt (CySCB_Type *base, cy_stc_scb_i2c_context_t *context) |
void | Cy_SCB_I2C_MasterInterrupt (CySCB_Type *base, cy_stc_scb_i2c_context_t *context) |
__STATIC_INLINE void | Cy_SCB_I2C_RegisterEventCallback (CySCB_Type const *base, cy_cb_scb_i2c_handle_events_t callback, cy_stc_scb_i2c_context_t *context) |
Registers a callback function that notifies that I2C Callback Events occurred in the Cy_SCB_I2C_Interrupt. More... | |
__STATIC_INLINE void | Cy_SCB_I2C_RegisterAddrCallback (CySCB_Type const *base, cy_cb_scb_i2c_handle_addr_t callback, cy_stc_scb_i2c_context_t *context) |
Registers a callback function that notifies that I2C Address Callback Events occurred in the Cy_SCB_I2C_Interrupt. More... | |
__STATIC_INLINE void Cy_SCB_I2C_RegisterEventCallback | ( | CySCB_Type const * | base, |
cy_cb_scb_i2c_handle_events_t | callback, | ||
cy_stc_scb_i2c_context_t * | context | ||
) |
Registers a callback function that notifies that I2C Callback Events occurred in the Cy_SCB_I2C_Interrupt.
base | The pointer to the I2C SCB instance. |
callback | The pointer to a callback function. See cy_cb_scb_i2c_handle_events_t for the function prototype. |
context | The pointer to context structure cy_stc_scb_i2c_context_t allocated by the user. The structure is used while the I2C operation for internal configuration and data retention. The user should not modify anything in this structure. |
__STATIC_INLINE void Cy_SCB_I2C_RegisterAddrCallback | ( | CySCB_Type const * | base, |
cy_cb_scb_i2c_handle_addr_t | callback, | ||
cy_stc_scb_i2c_context_t * | context | ||
) |
Registers a callback function that notifies that I2C Address Callback Events occurred in the Cy_SCB_I2C_Interrupt.
base | The pointer to the I2C SCB instance. |
callback | The pointer to a callback function. See cy_cb_scb_i2c_handle_addr_t for the function prototype. |
context | The pointer to context structure cy_stc_scb_i2c_context_t allocated by the user. The structure is used during the I2C operation for internal configuration and data retention. The user should not modify anything in this structure. |