Backup Domain Access function.
More...
|
void | PWR_DeInit (void) |
| Deinitializes the PWR peripheral registers to their default reset values. More...
|
|
void | PWR_BackupAccessCmd (FunctionalState NewState) |
| Enables or disables access to the Backup domain registers. More...
|
|
Backup Domain Access function.
==============================================================================
##### Backup Domain Access function #####
==============================================================================
[..] After reset, the Backup Domain Registers (RCC BDCR Register, RTC registers
and RTC backup registers) are protected against possible stray write accesses.
[..] To enable access to Backup domain use the PWR_BackupAccessCmd(ENABLE) function.
void PWR_BackupAccessCmd |
( |
FunctionalState |
NewState | ) |
|
Enables or disables access to the Backup domain registers.
- Note
- If the HSE divided by 32 is used as the RTC clock, the Backup Domain Access should be kept enabled.
- Parameters
-
NewState,: | new state of the access to the Backup domain registers. This parameter can be: ENABLE or DISABLE. |
- Return values
-
Deinitializes the PWR peripheral registers to their default reset values.
- Parameters
-
- Return values
-