Enumerated Types

group group_prot_enums

Defines

PROT_SIZE_4B_BIT_SHIFT

Constants for memory region size setting.

These may be useful for pre-processor-time tests.4 bytes

PROT_SIZE_8B_BIT_SHIFT

8 bytes

PROT_SIZE_16B_BIT_SHIFT

16 bytes

PROT_SIZE_32B_BIT_SHIFT

32 bytes

PROT_SIZE_64B_BIT_SHIFT

64 bytes

PROT_SIZE_128B_BIT_SHIFT

128 bytes

PROT_SIZE_256B_BIT_SHIFT

256 bytes

PROT_SIZE_512B_BIT_SHIFT

512 bytes

PROT_SIZE_1KB_BIT_SHIFT

1 Kilobyte

PROT_SIZE_2KB_BIT_SHIFT

2 Kilobytes

PROT_SIZE_4KB_BIT_SHIFT

4 Kilobytes

PROT_SIZE_8KB_BIT_SHIFT

8 Kilobytes

PROT_SIZE_16KB_BIT_SHIFT

16 Kilobytes

PROT_SIZE_32KB_BIT_SHIFT

32 Kilobytes

PROT_SIZE_64KB_BIT_SHIFT

64 Kilobytes

PROT_SIZE_128KB_BIT_SHIFT

128 Kilobytes

PROT_SIZE_256KB_BIT_SHIFT

256 Kilobytes

PROT_SIZE_512KB_BIT_SHIFT

512 Kilobytes

PROT_SIZE_1MB_BIT_SHIFT

1 Megabyte

PROT_SIZE_2MB_BIT_SHIFT

2 Megabytes

PROT_SIZE_4MB_BIT_SHIFT

4 Megabytes

PROT_SIZE_8MB_BIT_SHIFT

8 Megabytes

PROT_SIZE_16MB_BIT_SHIFT

16 Megabytes

PROT_SIZE_32MB_BIT_SHIFT

32 Megabytes

PROT_SIZE_64MB_BIT_SHIFT

64 Megabytes

PROT_SIZE_128MB_BIT_SHIFT

128 Megabytes

PROT_SIZE_256MB_BIT_SHIFT

256 Megabytes

PROT_SIZE_512MB_BIT_SHIFT

512 Megabytes

PROT_SIZE_1GB_BIT_SHIFT

1 Gigabyte

PROT_SIZE_2GB_BIT_SHIFT

2 Gigabytes

PROT_SIZE_4GB_BIT_SHIFT

4 Gigabytes

Enums

enum cy_en_prot_status_t

cy_en_prot_status_t: Prot Driver error codes.

Values:

enumerator CY_PROT_SUCCESS

Returned successful.

enumerator CY_PROT_BAD_PARAM

Bad parameter was passed.

enumerator CY_PROT_INVALID_STATE

The operation is not setup.

enumerator CY_PROT_FAILURE

The resource is locked.

enumerator CY_PROT_UNAVAILABLE

The resource is unavailable.

enum cy_en_prot_perm_t

cy_en_prot_perm_t: User/Privileged permission.

Values:

enumerator CY_PROT_PERM_DISABLED

Read, Write and Execute disabled.

enumerator CY_PROT_PERM_R

Read enabled.

enumerator CY_PROT_PERM_W

Write enabled.

enumerator CY_PROT_PERM_RW

Read and Write enabled.

enumerator CY_PROT_PERM_X

Execute enabled.

enumerator CY_PROT_PERM_RX

Read and Execute enabled.

enumerator CY_PROT_PERM_WX

Write and Execute enabled.

enumerator CY_PROT_PERM_RWX

Read, Write and Execute enabled.

enum cy_en_prot_size_t

cy_en_prot_size_t: Memory region size.

Values:

enumerator CY_PROT_SIZE_4B

4 bytes

enumerator CY_PROT_SIZE_8B

8 bytes

enumerator CY_PROT_SIZE_16B

16 bytes

enumerator CY_PROT_SIZE_32B

32 bytes

enumerator CY_PROT_SIZE_64B

64 bytes

enumerator CY_PROT_SIZE_128B

128 bytes

enumerator CY_PROT_SIZE_256B

256 bytes

enumerator CY_PROT_SIZE_512B

512 bytes

enumerator CY_PROT_SIZE_1KB

1 Kilobyte

enumerator CY_PROT_SIZE_2KB

2 Kilobytes

enumerator CY_PROT_SIZE_4KB

4 Kilobytes

enumerator CY_PROT_SIZE_8KB

8 Kilobytes

enumerator CY_PROT_SIZE_16KB

16 Kilobytes

enumerator CY_PROT_SIZE_32KB

32 Kilobytes

enumerator CY_PROT_SIZE_64KB

64 Kilobytes

enumerator CY_PROT_SIZE_128KB

128 Kilobytes

enumerator CY_PROT_SIZE_256KB

256 Kilobytes

enumerator CY_PROT_SIZE_512KB

512 Kilobytes

enumerator CY_PROT_SIZE_1MB

1 Megabyte

enumerator CY_PROT_SIZE_2MB

2 Megabytes

enumerator CY_PROT_SIZE_4MB

4 Megabytes

enumerator CY_PROT_SIZE_8MB

8 Megabytes

enumerator CY_PROT_SIZE_16MB

16 Megabytes

enumerator CY_PROT_SIZE_32MB

32 Megabytes

enumerator CY_PROT_SIZE_64MB

64 Megabytes

enumerator CY_PROT_SIZE_128MB

128 Megabytes

enumerator CY_PROT_SIZE_256MB

256 Megabytes

enumerator CY_PROT_SIZE_512MB

512 Megabytes

enumerator CY_PROT_SIZE_1GB

1 Gigabyte

enumerator CY_PROT_SIZE_2GB

2 Gigabytes

enumerator CY_PROT_SIZE_4GB

4 Gigabytes

enum cy_en_prot_pc_t

cy_en_prot_pc_t: Protection Context (PC)

Values:

enumerator CY_PROT_PC1

PC = 1.

enumerator CY_PROT_PC2

PC = 2.

enumerator CY_PROT_PC3

PC = 3.

enumerator CY_PROT_PC4

PC = 4.

enumerator CY_PROT_PC5

PC = 5.

enumerator CY_PROT_PC6

PC = 6.

enumerator CY_PROT_PC7

PC = 7.

enumerator CY_PROT_PC8

PC = 8.

enumerator CY_PROT_PC9

PC = 9.

enumerator CY_PROT_PC10

PC = 10.

enumerator CY_PROT_PC11

PC = 11.

enumerator CY_PROT_PC12

PC = 12.

enumerator CY_PROT_PC13

PC = 13.

enumerator CY_PROT_PC14

PC = 14.

enumerator CY_PROT_PC15

PC = 15.

enum cy_en_prot_subreg_t

cy_en_prot_subreg_t: Subregion disable (0-7)

Values:

enumerator CY_PROT_SUBREGION_DIS0

Disable subregion 0.

enumerator CY_PROT_SUBREGION_DIS1

Disable subregion 1.

enumerator CY_PROT_SUBREGION_DIS2

Disable subregion 2.

enumerator CY_PROT_SUBREGION_DIS3

Disable subregion 3.

enumerator CY_PROT_SUBREGION_DIS4

Disable subregion 4.

enumerator CY_PROT_SUBREGION_DIS5

Disable subregion 5.

enumerator CY_PROT_SUBREGION_DIS6

Disable subregion 6.

enumerator CY_PROT_SUBREGION_DIS7

Disable subregion 7.

enum cy_en_prot_pcmask_t

cy_en_prot_pcmask_t: Protection context mask (PC_MASK)

Values:

enumerator CY_PROT_PCMASK1

Mask to allow PC = 1.

enumerator CY_PROT_PCMASK2

Mask to allow PC = 2.

enumerator CY_PROT_PCMASK3

Mask to allow PC = 3.

enumerator CY_PROT_PCMASK4

Mask to allow PC = 4.

enumerator CY_PROT_PCMASK5

Mask to allow PC = 5.

enumerator CY_PROT_PCMASK6

Mask to allow PC = 6.

enumerator CY_PROT_PCMASK7

Mask to allow PC = 7.

enumerator CY_PROT_PCMASK8

Mask to allow PC = 8.

enumerator CY_PROT_PCMASK9

Mask to allow PC = 9.

enumerator CY_PROT_PCMASK10

Mask to allow PC = 10.

enumerator CY_PROT_PCMASK11

Mask to allow PC = 11.

enumerator CY_PROT_PCMASK12

Mask to allow PC = 12.

enumerator CY_PROT_PCMASK13

Mask to allow PC = 13.

enumerator CY_PROT_PCMASK14

Mask to allow PC = 14.

enumerator CY_PROT_PCMASK15

Mask to allow PC = 15.

enum cy_en_prot_req_mode_t

cy_en_prot_req_mode_t: Request mode to get the SMPU or programmed PU structure.

Values:

enumerator CY_PROT_REQMODE_HIGHPRIOR

Request mode to return PU structure with highest priority.

enumerator CY_PROT_REQMODE_LOWPRIOR

Request mode to return PU structure with lowest priority.

enumerator CY_PROT_REQMODE_INDEX

Request mode to return PU structure with specific index.