Functions

Backup Domain Access function. More...

Collaboration diagram for Backup Domain Access function:

Functions

void PWR_BackupAccessCmd (FunctionalState NewState)
 Enables or disables access to the backup domain (RTC registers, RTC backup data registers and backup SRAM). More...
 
void PWR_DeInit (void)
 Deinitializes the PWR peripheral registers to their default reset values. 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.
  ==============================================================================
                   ##### 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.

Function Documentation

void PWR_BackupAccessCmd ( FunctionalState  NewState)

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

Enables or disables access to the RTC and backup registers.

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
Note
If the HSE divided by 32 is used as the RTC clock, the Backup Domain Access should be kept enabled.
Parameters
NewStatenew state of the access to the RTC and backup registers. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 142 of file stm32f4xx_pwr.c.

void PWR_DeInit ( void  )

Deinitializes the PWR peripheral registers to their default reset values.

Parameters
None
Return values
None

Definition at line 127 of file stm32f4xx_pwr.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:55