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 #371 background imageLoading...
Page #371 background image
UM1581
Real-time clock (RTC)
DocID023800 Rev 1
371/584
19.2.24.2 RTC_GetFlagStatus
Function Name
FlagStatus RTC_GetFlagStatus ( uint32_t RTC_FLAG)
Function Description
Checks whether the specified RTC flag is set or not.
Parameters
ï‚· RTC_FLAG : specifies the flag to check. This parameter can
be one of the following values:
 RTC_FLAG_RECALPF : RECALPF event flag
 RTC_FLAG_TAMP3F : Tamper 3 event flag
 RTC_FLAG_TAMP2F : Tamper 2 event flag
 RTC_FLAG_TAMP1F : Tamper 1 event flag
 RTC_FLAG_TSOVF : Time Stamp OverFlow flag
 RTC_FLAG_TSF : Time Stamp event flag
 RTC_FLAG_WUTF : WakeUp Timer flag
 RTC_FLAG_ALRBF : Alarm B flag
 RTC_FLAG_ALRAF : Alarm A flag
 RTC_FLAG_INITF : Initialization mode flag
 RTC_FLAG_RSF : Registers Synchronized flag
 RTC_FLAG_INITS : Registers Configured flag : Shift
operation pending flag.
 RTC_FLAG_WUTWF : WakeUp Timer Write flag
 RTC_FLAG_ALRBWF : Alarm B Write flag
 RTC_FLAG_ALRAWF : Alarm A write flag
Return values
ï‚· The new state of RTC_FLAG (SET or RESET).
Notes
ï‚· None.
19.2.24.3 RTC_ClearFlag
Function Name
void RTC_ClearFlag ( uint32_t RTC_FLAG)
Function Description
Clears the RTC's pending flags.
Parameters
ï‚· RTC_FLAG : specifies the RTC flag to clear. This parameter
can be any combination of the following values:
 RTC_FLAG_TAMP3F : Tamper 3 event flag
 RTC_FLAG_TAMP2F : Tamper 2 event flag
 RTC_FLAG_TAMP1F : Tamper 1 event flag
 RTC_FLAG_TSOVF : Time Stamp Overflow flag
 RTC_FLAG_TSF : Time Stamp event flag

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