CARME-M4 BSP  V1.5
Backup Domain Access function

Backup Domain Access function. More...

+ Collaboration diagram for Backup Domain Access function:

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
NewStatenew state of the access to the backup domain. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 149 of file stm32f4xx_pwr.c.

+ Here is the caller graph for this function:

void PWR_DeInit ( void  )

Deinitializes the PWR peripheral registers to their default reset values.

Parameters
None
Return values
None

Definition at line 134 of file stm32f4xx_pwr.c.

+ Here is the call graph for this function: