Enumerated Types

group group_pra_enums

Enums

enum cy_en_pra_status_t

cy_en_pra_status_t: Status definitions of the PRA function return values.

Values:

enumerator CY_PRA_STATUS_SUCCESS

Returns success.

enumerator CY_PRA_STATUS_ACCESS_DENIED

Access denied - PRA does not allow a call from Non-Secure.

enumerator CY_PRA_STATUS_INVALID_PARAM

Invalid parameter.

enumerator CY_PRA_STATUS_ERROR_PROCESSING

An error while applying the device configuration.

enumerator CY_PRA_STATUS_REQUEST_SENT

The IPC message status when sent from Non-Secure to Secure.

enumerator CY_PRA_STATUS_ERROR_SYSPM_FAIL

SysPM failure.

enumerator CY_PRA_STATUS_ERROR_SYSPM_TIMEOUT

SysPM operation timeout.

enumerator CY_PRA_STATUS_ERROR_PRA_VERSION

The driver version mismatch between Cortex-M0+ and Cortex-M4.

enumerator CY_PRA_STATUS_INVALID_PARAM_ECO

Returns Error while validating the ECO parameters.

enumerator CY_PRA_STATUS_INVALID_PARAM_EXTCLK

Returns Error while validating the CLK_EXT parameters.

enumerator CY_PRA_STATUS_INVALID_PARAM_ALTHF

Returns Error while validating the CLK_ALTHF parameters.

enumerator CY_PRA_STATUS_INVALID_PARAM_ILO

Returns Error while validating the CLK_ILO parameters.

enumerator CY_PRA_STATUS_INVALID_PARAM_PILO

Returns Error while validating the CLK_PILO parameters.

enumerator CY_PRA_STATUS_INVALID_PARAM_WCO

Returns Error while validating the CLK_WCO parameters.

enumerator CY_PRA_STATUS_INVALID_ECO_PROVISION

Returns Error while validating the provisioned CLK_ECO policy.

enumerator CY_PRA_STATUS_INVALID_EXTCLK_PROVISION

Returns Error while validating the provisioned CLK_EXT policy.

enumerator CY_PRA_STATUS_INVALID_WCO_PROVISION

Returns Error while validating the provisioned CLK_WCO policy.

enumerator CY_PRA_STATUS_INVALID_PARAM_PATHMUX0

Returns Error while validating PATH_MUX0.

enumerator CY_PRA_STATUS_INVALID_PARAM_PATHMUX1

Returns Error while validating PATH_MUX1.

enumerator CY_PRA_STATUS_INVALID_PARAM_PATHMUX2

Returns Error while validating PATH_MUX2.

enumerator CY_PRA_STATUS_INVALID_PARAM_PATHMUX3

Returns Error while validating PATH_MUX3.

enumerator CY_PRA_STATUS_INVALID_PARAM_PATHMUX4

Returns Error while validating PATH_MUX4.

enumerator CY_PRA_STATUS_INVALID_PARAM_PATHMUX5

Returns Error while validating PATH_MUX5.

enumerator CY_PRA_STATUS_INVALID_PARAM_FLL0

Returns Error while validating FLL.

enumerator CY_PRA_STATUS_INVALID_PARAM_PLL0

Returns Error while validating PLL0.

enumerator CY_PRA_STATUS_INVALID_PARAM_PLL1

Returns Error while validating PLL1.

enumerator CY_PRA_STATUS_INVALID_PARAM_PLL_NUM

Returns Error for the invalid PLL number.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKLF

Returns Error while validating CLK_LF.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKHF0

Returns Error while validating CLK_HF0.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKHF1

Returns Error while validating CLK_HF1.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKHF2

Returns Error while validating CLK_HF2.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKHF3

Returns Error while validating CLK_HF3.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKHF4

Returns Error while validating CLK_HF4.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKHF5

Returns Error while validating CLK_HF5.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKPUMP

Returns Error while validating CLK_PUMP.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKBAK

Returns Error while validating CLK_BAK.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKFAST

Returns Error while validating CLK_FAST.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKPERI

Returns Error while validating CLK_PERI.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKSLOW

Returns Error while validating CLK_SLOW.

enumerator CY_PRA_STATUS_INVALID_PARAM_SYSTICK

Returns Error while validating CLK_ALT_SYS_TICK.

enumerator CY_PRA_STATUS_INVALID_PARAM_CLKTIMER

Returns Error while validating CLK_TIMER.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PWR

Returns Error while initializing power.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_ECO

Returns Error while initializing ECO.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_EXTCLK

Returns Error while enabling CLK_EXT.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_ALTHF

Returns Error while enabling CLK_ALTHF.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_ILO

Returns Error while enabling/disabling CLK_ILO.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PILO

Returns Error while enabling/disabling CLK_ALTHF.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_WCO

Returns Error while enabling/disabling CLK_WCO.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_ECO_ENABLED

Returns Error while enabling CLK_ECO.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_ECO_PROVISION

Returns Error if failed to process the provisioned CLK_ECO policy.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_EXTCLK_PROVISION

Returns Error if failed to process the provisioned CLK_EXT policy.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_WCO_PROVISION

Returns Error if failed to process the provisioned CLK_WCO policy.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PATHMUX0

Returns Error while setting PATH_MUX0.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PATHMUX1

Returns Error while setting PATH_MUX1.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PATHMUX2

Returns Error while setting PATH_MUX2.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PATHMUX3

Returns Error while setting PATH_MUX3.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PATHMUX4

Returns Error while setting PATH_MUX4.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PATHMUX5

Returns Error while setting PATH_MUX5.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_FLL0

Returns Error while enabling/disabling FLL.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_FLL0_ENABLED

Returns Error while trying to enable an already enabled FLL.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PLL0

Returns Error while enabling/disabling PLL0.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PLL1

Returns Error while enabling/disabling PLL1.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_PLL_ENABLED

Returns Error while trying to enable an already enabled PLL.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKLF

Returns Error while enabling/disabling CLK_LF.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKHF0

Returns Error while enabling/disabling CLK_HF0.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKHF1

Returns Error while enabling/disabling CLK_HF1.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKHF2

Returns Error while enabling/disabling CLK_HF2.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKHF3

Returns Error while enabling/disabling CLK_HF3.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKHF4

Returns Error while enabling/disabling CLK_HF4.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKHF5

Returns Error while enabling/disabling CLK_HF5.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKPUMP

Returns Error while enabling/disabling CLK_PUMP.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKBAK

Returns Error while enabling/disabling CLK_BAK.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKFAST

Returns Error while enabling/disabling CLK_FAST.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKPERI

Returns Error while enabling/disabling CLK_PERI.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKSLOW

Returns Error while enabling/disabling CLK_SLOW.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_SYSTICK

Returns Error while enabling/disabling CLK_ALT_SYS_TICK.

enumerator CY_PRA_STATUS_ERROR_PROCESSING_CLKTIMER

Returns Error while enabling/disabling CLK_TIMER.

enum cy_en_pra_pin_prot_type_t

cy_en_pra_pin_prot_type_t: GPIO PIN protection type.

Values:

enumerator CY_PRA_PIN_SECURE

Is a secure PIN.

Can’t be updated from CM4 application through register level PRA policy. This PIN can only be updated through service-level policy

enumerator CY_PRA_PIN_SECURE_UNCONSTRAINED

Is a secure PIN.

Can be updated from CM4 application through register level PRA policy

enumerator CY_PRA_PIN_SECURE_NONE

Not a secure PIN.