MTB CAT1 Peripheral driver library

General Description

Functions

cy_en_ppc_status_t Cy_Ppc_InitPpc (PPC_Type *base, const cy_stc_ppc_init_t *ppcInit)
 Initializes the referenced ppc. More...
 
cy_en_ppc_status_t Cy_Ppc_ConfigAttrib (PPC_Type *base, cy_stc_ppc_attribute_t *attribute)
 Configure the referenced ppc with the security and access attributes. More...
 
cy_en_ppc_status_t Cy_Ppc_SetPcMask (PPC_Type *base, cy_stc_ppc_pc_mask_t *pcMaskConfig)
 Configure the PC mask for a given range of regions of referenced ppc. More...
 
cy_en_ppc_status_t Cy_Ppc_SetLockMask (PPC_Type *base, uint32_t lockMask)
 Configures the lock mask for the referenced ppc. More...
 
uint32_t Cy_Ppc_GetLockMask (PPC_Type *base)
 Reads the lock mask value for the referenced ppc. More...
 

Function Documentation

◆ Cy_Ppc_InitPpc()

cy_en_ppc_status_t Cy_Ppc_InitPpc ( PPC_Type *  base,
const cy_stc_ppc_init_t ppcInit 
)

Initializes the referenced ppc.

Parameters
baseBase address of ppc being configured
ppcInitPPC initialization structure
Returns
Initialization status

◆ Cy_Ppc_ConfigAttrib()

cy_en_ppc_status_t Cy_Ppc_ConfigAttrib ( PPC_Type *  base,
cy_stc_ppc_attribute_t attribute 
)

Configure the referenced ppc with the security and access attributes.

Parameters
baseBase address of ppc being configured
attributePPC attribute configuration structure
Returns
Initialization status

◆ Cy_Ppc_SetPcMask()

cy_en_ppc_status_t Cy_Ppc_SetPcMask ( PPC_Type *  base,
cy_stc_ppc_pc_mask_t pcMaskConfig 
)

Configure the PC mask for a given range of regions of referenced ppc.

Parameters
baseBase address of ppc being configured
pcMaskConfigPPC mask configuration structure
Returns
Initialization status

◆ Cy_Ppc_SetLockMask()

cy_en_ppc_status_t Cy_Ppc_SetLockMask ( PPC_Type *  base,
uint32_t  lockMask 
)

Configures the lock mask for the referenced ppc.

Parameters
baseBase address of ppc being configured
lockMaskMask value to be set
Returns
Initialization status

◆ Cy_Ppc_GetLockMask()

uint32_t Cy_Ppc_GetLockMask ( PPC_Type *  base)

Reads the lock mask value for the referenced ppc.

Parameters
baseBase address of ppc being configured
Returns
Mask value read