Data Structures

group group_prot_data_structures
struct PROT_MPU_MPU_STRUCT_Type
#include <ip_type.h>

struct PROT_SMPU_SMPU_STRUCT_Type
#include <ip_type.h>

struct PERI_PPU_PR_Type
#include <ip_type.h>

struct PERI_PPU_GR_Type
#include <ip_type.h>

struct PERI_GR_PPU_SL_Type
#include <ip_type.h>

struct PERI_GR_PPU_RG_Type
#include <ip_type.h>

struct cy_stc_mpu_cfg_t
#include <cy_prot.h>

Configuration structure for MPU Struct initialization.

Public Members

uint32_t *address

Base address of the memory region.

cy_en_prot_size_t regionSize

Size of the memory region.

uint8_t subregions

Mask of the 8 subregions to disable.

cy_en_prot_perm_t userPermission

User permissions for the region.

cy_en_prot_perm_t privPermission

Privileged permissions for the region.

bool secure

Non Secure = 0, Secure = 1.

struct cy_stc_smpu_cfg_t
#include <cy_prot.h>

Configuration structure for SMPU struct initialization.

Public Members

uint32_t *address

Base address of the memory region (Only applicable to slave)

cy_en_prot_size_t regionSize

Size of the memory region (Only applicable to slave)

uint8_t subregions

Mask of the 8 subregions to disable (Only applicable to slave)

cy_en_prot_perm_t userPermission

User permissions for the region.

cy_en_prot_perm_t privPermission

Privileged permissions for the region.

bool secure

Non Secure = 0, Secure = 1.

bool pcMatch

Access evaluation = 0, Matching = 1.

uint16_t pcMask

Mask of allowed protection context(s)

struct cy_stc_ppu_prog_cfg_t
#include <cy_prot.h>

Configuration structure for Programmable (PROG) PPU (PPU_PR) struct initialization.

Public Members

uint32_t *address

Base address of the memory region (Only applicable to slave)

cy_en_prot_size_t regionSize

Size of the memory region (Only applicable to slave)

uint8_t subregions

Mask of the 8 subregions to disable (Only applicable to slave)

cy_en_prot_perm_t userPermission

User permissions for the region.

cy_en_prot_perm_t privPermission

Privileged permissions for the region.

bool secure

Non Secure = 0, Secure = 1.

bool pcMatch

Access evaluation = 0, Matching = 1.

uint16_t pcMask

Mask of allowed protection context(s)

struct cy_stc_ppu_gr_cfg_t
#include <cy_prot.h>

Configuration structure for Fixed Group (GR) PPU (PPU_GR) struct initialization.

Public Members

cy_en_prot_perm_t userPermission

User permissions for the region.

cy_en_prot_perm_t privPermission

Privileged permissions for the region.

bool secure

Non Secure = 0, Secure = 1.

bool pcMatch

Access evaluation = 0, Matching = 1.

uint16_t pcMask

Mask of allowed protection context(s)

struct cy_stc_ppu_sl_cfg_t
#include <cy_prot.h>

Configuration structure for Fixed Slave (SL) PPU (PPU_SL) struct initialization.

Public Members

cy_en_prot_perm_t userPermission

User permissions for the region.

cy_en_prot_perm_t privPermission

Privileged permissions for the region.

bool secure

Non Secure = 0, Secure = 1.

bool pcMatch

Access evaluation = 0, Matching = 1.

uint16_t pcMask

Mask of allowed protection context(s)

struct cy_stc_ppu_rg_cfg_t
#include <cy_prot.h>

Configuration structure for Fixed Region (RG) PPU (PPU_RG) struct initialization.

Public Members

cy_en_prot_perm_t userPermission

User permissions for the region.

cy_en_prot_perm_t privPermission

Privileged permissions for the region.

bool secure

Non Secure = 0, Secure = 1.

bool pcMatch

Access evaluation = 0, Matching = 1.

uint16_t pcMask

Mask of allowed protection context(s)