3.3.4.56 EMAFE_ADCSetSecurityControls Function

C

void EMAFE_ADCSetSecurityControls ( uint8_t mask );

Summary

Configure the security options of the analog system.

Description

To prevent any single software error from corrupting Low-Pass Filter Interface behaviour, certain registers in the address space can be write-protected by setting the WPCFEN, WPITEN and WPCTRL bits in the EMAFE Write Protection Mode Register.

Precondition

None.

Parameters

ParamDescription
maskBit mask to establish secure options.

Returns

None.

Example


EMAFE_ADCSetSecurityControls(EMAFE_ADC_SECURITY_SECRES_Msk);

Remarks

Secure Mask ValuesDescription
EMAFE_ADC_SECURITY_SECRES_MskRestricted Access Security Level. When activated, this security level allows writing into the reserved configuration registers.
EMAFE_ADC_SECURITY_SECPRIV_MskPrivate Access Security Level. When activated, this security level bypasses internal FSM and allows the direct control of the analog cells.
Note: When this security level is activated, the user must take care of not damaging analog IPs by activating a forbidden configuration.
EMAFE_ADC_SECURITY_SYS_RDY_DIS_MskSystem Ready Disable. When activated, the EMAFE ADC interface does not wait for the system ready signal be high to write into registers.