STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Backup Domain Access function

Backup Domain Access function. More...

Functions

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 (RTC registers, RTC backup data registers and backup SRAM). More...
 

Detailed Description

Backup Domain Access function.

 ===============================================================================
                            Backup Domain Access function 
 ===============================================================================  

  After reset, the backup domain (RTC registers, RTC backup data 
  registers and backup SRAM) is protected against possible unwanted 
  write accesses. 
  To enable access to the RTC Domain and RTC registers, proceed as follows:
    - Enable the Power Controller (PWR) APB1 interface clock using the
      RCC_APB1PeriphClockCmd() function.
    - Enable access to RTC domain using the PWR_BackupAccessCmd() function.

Function Documentation

void PWR_BackupAccessCmd ( FunctionalState  NewState)

Enables or disables access to the backup domain (RTC registers, RTC backup data registers and backup SRAM).

Note
If the HSE divided by 2, 3, ..31 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. This parameter can be: ENABLE or DISABLE.
Return values
None
void PWR_DeInit ( void  )

Deinitializes the PWR peripheral registers to their default reset values.

Parameters
None
Return values
None