PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
Macros
PDL API Reference » TDM/I2S (Time Division Multiplexing/Inter-IC Sound)

## General Description

## Macros
#define | CY_I2S_DRV_VERSION_MAJOR 1
| The driver major version.
#define | CY_I2S_DRV_VERSION_MINOR 0
| The driver minor version.
#define | CY_TDM_ID (CY_PDL_DRV_ID(0x50U))
| The TDM driver identifier.
#define | CY_TDM_IS_CLK_DIV_VALID(clkDiv) (clkDiv <= 255U)
| TDM Macro.
#define | CY_TDM_IS_CHANNELS_VALID(channels) (((channels) > 0UL) && ((channels) <= 31UL))
| TDM Macro.
#define | CY_TDM_IS_CHANNEL_SIZE_VALID(channel_size) (((channel_size) > 2UL) && ((channel_size) <= 31UL))
| TDM Macro.
#define | CY_I2S_TDM_INTR_TX_MASK_VALID(interrupt) (0UL == ((interrupt) & ((uint32_t) ~CY_TDM_INTR_TX_MASK)))
| TDM Macro.
#define | CY_I2S_TDM_INTR_RX_MASK_VALID(interrupt) (0UL == ((interrupt) & ((uint32_t) ~CY_TDM_INTR_RX_MASK)))
| TDM Macro.
#define | CY_I2S_TDM_IS_INPUT_SIGNAL_MODE_VALID(signalInput) (signalInput <= 2UL)
| TDM Macro.