Function status type codes.
Macros | |
#define | CY_PDL_STATUS_CODE_Pos (CY_RSLT_CODE_POSITION) |
The module status code position in the status code. | |
#define | CY_PDL_STATUS_TYPE_Pos (CY_RSLT_TYPE_POSITION) |
The status type position in the status code. | |
#define | CY_PDL_MODULE_ID_Pos (CY_RSLT_MODULE_POSITION) |
The software module ID position in the status code. | |
#define | CY_PDL_STATUS_INFO ((uint32_t)CY_RSLT_TYPE_INFO << CY_PDL_STATUS_TYPE_Pos) |
The information status type. | |
#define | CY_PDL_STATUS_WARNING ((uint32_t)CY_RSLT_TYPE_WARNING << CY_PDL_STATUS_TYPE_Pos) |
The warning status type. | |
#define | CY_PDL_STATUS_ERROR ((uint32_t)CY_RSLT_TYPE_ERROR << CY_PDL_STATUS_TYPE_Pos) |
The error status type. | |
#define | CY_PDL_MODULE_ID_Msk (CY_RSLT_MODULE_MASK) |
The software module ID mask. | |
#define | CY_PDL_DRV_ID(id) ((uint32_t)((uint32_t)((id) & CY_PDL_MODULE_ID_Msk) << CY_PDL_MODULE_ID_Pos)) |
Get the software PDL module ID. | |
#define | CY_SYSLIB_ID CY_PDL_DRV_ID(0x11U) |
SYSLIB PDL ID. | |