3.3.4.26 EMAFE_WriteProtectionGet Function
C
uint32_t EMAFE_WriteProtectionGet(void);Summary
Get write protection options.
Description
Get write protection options.
Precondition
None.
Parameters
None.
Returns
Bit mask of the protection options.
Example
wpOptions = EMAFE_WriteProtectionGet();
Remarks
| Mode | Description if value = 1 |
|---|---|
| EMAFE_WPMR_WPCFEN_Msk | Enables the write protection of the configuration registers |
| EMAFE_WPMR_WPITEN_Msk | Enables the write protection of EMAFE_IER and EMAFE_IDR |
| EMAFE_WPMR_WPCTRL_Msk | Enables the write protection of EMAFE_CTRL |
