|
enum | cy_en_prot_status_t {
CY_PROT_SUCCESS = 0x00U,
CY_PROT_BAD_PARAM = CY_PROT_ID | CY_PDL_STATUS_ERROR | 0x01U,
CY_PROT_INVALID_STATE = CY_PROT_ID | CY_PDL_STATUS_ERROR | 0x02U,
CY_PROT_FAILURE = CY_PROT_ID | CY_PDL_STATUS_ERROR | 0x03U,
CY_PROT_UNAVAILABLE = CY_PROT_ID | CY_PDL_STATUS_ERROR | 0x04U
} |
| Prot Driver error codes. More...
|
|
enum | cy_en_prot_perm_t {
CY_PROT_PERM_DISABLED = 0x00U,
CY_PROT_PERM_R = 0x01U,
CY_PROT_PERM_W = 0x02U,
CY_PROT_PERM_RW = 0x03U,
CY_PROT_PERM_X = 0x04U,
CY_PROT_PERM_RX = 0x05U,
CY_PROT_PERM_WX = 0x06U,
CY_PROT_PERM_RWX = 0x07U
} |
| User/Privileged permission. More...
|
|
enum | cy_en_prot_size_t {
CY_PROT_SIZE_4B = 1U,
CY_PROT_SIZE_8B = 2U,
CY_PROT_SIZE_16B = 3U,
CY_PROT_SIZE_32B = 4U,
CY_PROT_SIZE_64B = 5U,
CY_PROT_SIZE_128B = 6U,
CY_PROT_SIZE_256B = 7U,
CY_PROT_SIZE_512B = 8U,
CY_PROT_SIZE_1KB = 9U,
CY_PROT_SIZE_2KB = 10U,
CY_PROT_SIZE_4KB = 11U,
CY_PROT_SIZE_8KB = 12U,
CY_PROT_SIZE_16KB = 13U,
CY_PROT_SIZE_32KB = 14U,
CY_PROT_SIZE_64KB = 15U,
CY_PROT_SIZE_128KB = 16U,
CY_PROT_SIZE_256KB = 17U,
CY_PROT_SIZE_512KB = 18U,
CY_PROT_SIZE_1MB = 19U,
CY_PROT_SIZE_2MB = 20U,
CY_PROT_SIZE_4MB = 21U,
CY_PROT_SIZE_8MB = 22U,
CY_PROT_SIZE_16MB = 23U,
CY_PROT_SIZE_32MB = 24U,
CY_PROT_SIZE_64MB = 25U,
CY_PROT_SIZE_128MB = 26U,
CY_PROT_SIZE_256MB = 27U,
CY_PROT_SIZE_512MB = 28U,
CY_PROT_SIZE_1GB = 29U,
CY_PROT_SIZE_2GB = 30U,
CY_PROT_SIZE_4GB = 31U
} |
| Memory region size. More...
|
|
enum | cy_en_prot_pc_t {
CY_PROT_PC1 = 1U,
CY_PROT_PC2 = 2U,
CY_PROT_PC3 = 3U,
CY_PROT_PC4 = 4U,
CY_PROT_PC5 = 5U,
CY_PROT_PC6 = 6U,
CY_PROT_PC7 = 7U,
CY_PROT_PC8 = 8U,
CY_PROT_PC9 = 9U,
CY_PROT_PC10 = 10U,
CY_PROT_PC11 = 11U,
CY_PROT_PC12 = 12U,
CY_PROT_PC13 = 13U,
CY_PROT_PC14 = 14U,
CY_PROT_PC15 = 15U
} |
| Protection Context (PC) More...
|
|
enum | cy_en_prot_subreg_t {
CY_PROT_SUBREGION_DIS0 = 0x01U,
CY_PROT_SUBREGION_DIS1 = 0x02U,
CY_PROT_SUBREGION_DIS2 = 0x04U,
CY_PROT_SUBREGION_DIS3 = 0x08U,
CY_PROT_SUBREGION_DIS4 = 0x10U,
CY_PROT_SUBREGION_DIS5 = 0x20U,
CY_PROT_SUBREGION_DIS6 = 0x40U,
CY_PROT_SUBREGION_DIS7 = 0x80U
} |
| Subregion disable (0-7) More...
|
|
enum | cy_en_prot_pcmask_t {
CY_PROT_PCMASK1 = 0x0001U,
CY_PROT_PCMASK2 = 0x0002U,
CY_PROT_PCMASK3 = 0x0004U,
CY_PROT_PCMASK4 = 0x0008U,
CY_PROT_PCMASK5 = 0x0010U,
CY_PROT_PCMASK6 = 0x0020U,
CY_PROT_PCMASK7 = 0x0040U,
CY_PROT_PCMASK8 = 0x0080U,
CY_PROT_PCMASK9 = 0x0100U,
CY_PROT_PCMASK10 = 0x0200U,
CY_PROT_PCMASK11 = 0x0400U,
CY_PROT_PCMASK12 = 0x0800U,
CY_PROT_PCMASK13 = 0x1000U,
CY_PROT_PCMASK14 = 0x2000U,
CY_PROT_PCMASK15 = 0x4000U
} |
| Protection context mask (PC_MASK) More...
|
|
enum | cy_en_prot_req_mode_t {
CY_PROT_REQMODE_HIGHPRIOR = 0U,
CY_PROT_REQMODE_LOWPRIOR = 1U,
CY_PROT_REQMODE_INDEX = 2U
} |
| Request mode to get the SMPU or programmed PU structure. More...
|
|