Function status type codes.
Macros | |
| #define | CY_PDL_STATUS_CODE_Pos (0U) |
| The module status code position in the status code. | |
| #define | CY_PDL_STATUS_TYPE_Pos (16U) |
| The status type position in the status code. | |
| #define | CY_PDL_MODULE_ID_Pos (18U) |
| The software module ID position in the status code. | |
| #define | CY_PDL_STATUS_INFO (0UL << CY_PDL_STATUS_TYPE_Pos) |
| The information status type. | |
| #define | CY_PDL_STATUS_WARNING (1UL << CY_PDL_STATUS_TYPE_Pos) |
| The warning status type. | |
| #define | CY_PDL_STATUS_ERROR (2UL << CY_PDL_STATUS_TYPE_Pos) |
| The error status type. | |
| #define | CY_PDL_MODULE_ID_Msk (0x3FFFU) |
| 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. | |