EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #301 background imageLoading...
Page #301 background image
UM1581
Power control (PWR)
DocID023800 Rev 1
301/584
17 Power control (PWR)
17.1 PWR Firmware driver registers structures
17.1.1 PWR_TypeDef
PWR_TypeDef is defined in the stm32f30x.h
Data Fields
ï‚· __IO uint32_t CR
ï‚· __IO uint32_t CSR
Field Documentation
ï‚· __IO uint32_t PWR_TypeDef::CR
 PWR power control register, Address offset: 0x00
ï‚· __IO uint32_t PWR_TypeDef::CSR
 PWR power control/status register, Address offset: 0x04
17.2 PWR Firmware driver API description
The following section lists the various functions of the PWR library.
17.2.1 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.
ï‚· PWR_DeInit()
ï‚· PWR_BackupAccessCmd()
17.2.2 PVD configuration functions
ï‚· The PVD is used to monitor the VDD power supply by comparing it to a threshold
selected by the PVD Level (PLS[2:0] bits in the PWR_CR).
ï‚· A PVDO flag is available to indicate if VDD/VDDA is higher or lower than the PVD
threshold. This event is internally connected to the EXTI line16 and can generate an
interrupt if enabled through the EXTI registers.
ï‚· The PVD is stopped in Standby mode.
ï‚· PWR_PVDLevelConfig()
ï‚· PWR_PVDCmd()

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals