Rtc_Handletypedef; Rtc Firmware Driver Api Description; Backup Domain Operating Condition - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
uint32_t RTC_AlarmTypeDef::AlarmDateWeekDaySel
Specifies the RTC Alarm is on Date or WeekDay. This parameter can be a value of
RTC_AlarmDateWeekDay_Definitions
uint8_t RTC_AlarmTypeDef::AlarmDateWeekDay
Specifies the RTC Alarm Date/WeekDay. If the Alarm Date is selected, this parameter
must be set to a value in the 1-31 range. If the Alarm WeekDay is selected, this
parameter can be a value of
uint32_t RTC_AlarmTypeDef::Alarm
Specifies the alarm . This parameter can be a value of
39.1.5

RTC_HandleTypeDef

Data Fields
RTC_TypeDef * Instance
RTC_InitTypeDef Init
HAL_LockTypeDef Lock
__IO HAL_RTCStateTypeDef State
Field Documentation
RTC_TypeDef* RTC_HandleTypeDef::Instance
Register base address
RTC_InitTypeDef RTC_HandleTypeDef::Init
RTC required parameters
HAL_LockTypeDef RTC_HandleTypeDef::Lock
RTC locking object
__IO HAL_RTCStateTypeDef RTC_HandleTypeDef::State
Time communication state
39.2

RTC Firmware driver API description

39.2.1

Backup Domain Operating Condition

The real-time clock (RTC), the RTC backup registers, and the backup SRAM (BKP SRAM)
can be powered from the VBAT voltage when the main VDD supply is powered off. To
retain the content of the RTC backup registers, backup SRAM, and supply the RTC when
VDD is turned off, VBAT pin can be connected to an optional standby voltage supplied by a
battery or by another source.
To allow the RTC operating even when the main digital supply (VDD) is turned off, the
VBAT pin powers the following blocks:
1.
The RTC
2.
The LSE oscillator
3.
The backup SRAM when the low power backup regulator is enabled
4.
PC13 to PC15 I/Os, plus PI8 I/O (when available)
When the backup domain is supplied by VDD (analog switch connected to VDD), the
following pins are available:
1.
PC14 and PC15 can be used as either GPIO or LSE pins
2.
PC13 can be used as a GPIO or as the RTC_AF1 pin
3.
PI8 can be used as a GPIO or as the RTC_AF2 pin
When the backup domain is supplied by VBAT (analog switch connected to VBAT because
VDD is not present), the following pins are available:
1.
PC14 and PC15 can be used as LSE pins only
2.
PC13 can be used as the RTC_AF1 pin
RTC_WeekDay_Definitions
DocID028236 Rev 2
HAL RTC Generic Driver
RTC_Alarms_Definitions
467/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF