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
| Param | Description |
|---|---|
| mask | Bit mask to establish secure options. |
Returns
None.
Example
EMAFE_ADCSetSecurityControls(EMAFE_ADC_SECURITY_SECRES_Msk);
Remarks
| Secure Mask Values | Description |
|---|---|
| EMAFE_ADC_SECURITY_SECRES_Msk | Restricted Access Security Level. When activated, this security level allows writing into the reserved configuration registers. |
| EMAFE_ADC_SECURITY_SECPRIV_Msk | Private 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_Msk | System Ready Disable. When activated, the EMAFE ADC interface does not wait for the system ready signal be high to write into registers. |
