MTB CAT1 Peripheral driver library

General Description

Macro definitions are used in the driver.

Macros

#define CY_IPC_PIPE_CFG_IMASK_Pos   (16UL)
 Interrupts shift value for endpoint address.
 
#define CY_IPC_PIPE_CFG_IMASK_Msk   (0xFFFF0000UL)
 Interrupts mask for endpoint address.
 
#define CY_IPC_PIPE_CFG_INTR_Pos   (8UL)
 IPC Interrupt shift value for endpoint address.
 
#define CY_IPC_PIPE_CFG_INTR_Msk   (0x0000FF00UL)
 IPC Interrupt mask for endpoint address.
 
#define CY_IPC_PIPE_CFG_CHAN_Pos   (0UL)
 IPC Channel shift value for endpoint address.
 
#define CY_IPC_PIPE_CFG_CHAN_Msk   (0x000000FFUL)
 IPC Channel mask for endpoint address.
 
#define CY_IPC_PIPE_MSG_CLIENT_Msk   (0x000000FFUL)
 Client mask for first word of Pipe message.
 
#define CY_IPC_PIPE_MSG_CLIENT_Pos   (0UL)
 Client shift for first word of Pipe message.
 
#define CY_IPC_PIPE_MSG_USR_Msk   (0x0000FF00UL)
 User data mask for first word of Pipe message.
 
#define CY_IPC_PIPE_MSG_USR_Pos   (8UL)
 User data shift for first word of Pipe message.
 
#define CY_IPC_PIPE_MSG_RELEASE_Msk   (0xFFFF0000UL)
 Mask for message release mask.
 
#define CY_IPC_PIPE_MSG_RELEASE_Pos   (16UL)
 Shift require to line up mask to LSB.
 
#define CY_IPC_PIPE_ENDPOINT_BUSY   (1UL)
 Use to set the busy flag when waiting for a release interrupt.
 
#define CY_IPC_PIPE_ENDPOINT_NOTBUSY   (0UL)
 Denotes that a release interrupt is not pending.
 
#define CY_IPC_PIPE_RTN   (0x0200UL)
 Software PDL driver ID for IPC pipe functions.
 
#define CY_IPC_PIPE_ID_INFO   (uint32_t)( CY_IPC_ID_INFO | CY_IPC_PIPE_RTN)
 Return prefix for IPC pipe function status codes.
 
#define CY_IPC_PIPE_ID_WARNING   (uint32_t)( CY_IPC_ID_WARNING | CY_IPC_PIPE_RTN)
 Return prefix for IPC pipe function warning return values.
 
#define CY_IPC_PIPE_ID_ERROR   (uint32_t)( CY_IPC_ID_ERROR | CY_IPC_PIPE_RTN)
 Return prefix for IPC pipe function error return values.