MTB CAT1 Peripheral driver library

General Description

API Reference

 EZI2C Activity Status
 Macros to check current EZI2C activity slave status returned by Cy_SCB_EZI2C_GetActivity function.
 

Macros

#define CY_SCB_EZI2C_DEFAULT_TX   (0xFFUL)
 This value is returned by the slave when the buffer is not configured or the master requests more bytes than are available in the buffer.
 
#define CY_SCB_EZI2C_EZ_MAX_DATA_SIZE   (256UL)
 The maximum number of EZ_DATA registers addressable with an 8-bit sub-address in hardware EZ mode.
 
#define CY_SCB_EZI2C_EZ_DATA_SIZE   (CY_SCB_FIFO_SIZE * 2UL)
 The number of EZ_DATA registers available in hardware EZ mode, derived from the SCB FIFO size (the EZ_DATA memory is two bytes per FIFO entry) and capped at CY_SCB_EZI2C_EZ_MAX_DATA_SIZE. More...
 

Macro Definition Documentation

◆ CY_SCB_EZI2C_EZ_DATA_SIZE

#define CY_SCB_EZI2C_EZ_DATA_SIZE   (CY_SCB_FIFO_SIZE * 2UL)

The number of EZ_DATA registers available in hardware EZ mode, derived from the SCB FIFO size (the EZ_DATA memory is two bytes per FIFO entry) and capped at CY_SCB_EZI2C_EZ_MAX_DATA_SIZE.

Each register holds one byte of data (bits [7:0] are used).