PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
Macros
PDL API Reference » IPC (Inter Process Communication) » IPC driver layer (IPC_DRV)

## General Description

Macro definitions are used in the driver.

- IPC0 CH - 3 to 7 and 11 to 15
- IPC0 INT - 3 to 5
- IPC1 CH - 17 to 31
- IPC1 INT - 9 to 15

Note
  If there are high level middleware libraries used such as MTB-IPC/MTB-SRF, please refer to BSP documentation for reservations under the section - MTB IPC Configuration

## Macros
#define | CY_IPC0_CHAN_USER (4u)
| User ipc channel index of IPC0 instance.
#define | CY_IPC0_INTR_USER (2u)
| First ipc interrupt index of IPC0 instance.
#define | CY_IPC_CHAN_USER (1u + IPC0_IPC_NR)
| First ipc channel index of IPC1 instance meant for CM33 <-> CM55.
#define | CY_IPC_INTR_USER (1u + IPC0_IPC_IRQ_NR)
| First ipc interrupt index of IPC1 instance meant for CM33 <-> CM55.
#define | CY_IPC_DRV_VERSION_MAJOR 1
| Driver major version.
#define | CY_IPC_DRV_VERSION_MINOR 140
| Driver minor version.
#define | CY_IPC_NO_NOTIFICATION (uint32_t)(0x00000000UL)
| Defines a value to indicate that no notification events are needed.
#define | CY_IPC_ID CY_PDL_DRV_ID(0x22u)
| Software PDL driver ID for IPC.
#define | CY_IPC_ID_INFO (uint32_t)( CY_IPC_ID | CY_PDL_STATUS_INFO )
| Return prefix for IPC driver function status codes.
#define | CY_IPC_ID_WARNING (uint32_t)( CY_IPC_ID | CY_PDL_STATUS_WARNING)
| Return prefix for IPC driver function warning return values.
#define | CY_IPC_ID_ERROR (uint32_t)( CY_IPC_ID | CY_PDL_STATUS_ERROR)
| Return prefix for IPC driver function error return values.
#define | CY_IPC_INTR_NUM_TO_VECT(x) ((int32_t) cy_device->cpussIpc0Irq + (x))
| Converts the IPC interrupt channel number to interrupt vector.