STM8L15x Standard Peripherals Drivers: RTC_Flags

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Enumerations

enum  RTC_Flag_TypeDef {
  RTC_FLAG_TAMP3F = ((uint16_t)0x0080), RTC_FLAG_TAMP2F = ((uint16_t)0x0040), RTC_FLAG_TAMP1F = ((uint16_t)0x0020), RTC_FLAG_WUTF = ((uint16_t)0x0004),
  RTC_FLAG_ALRAF = ((uint16_t)0x0001), RTC_FLAG_INITF = ((uint16_t)0x4000), RTC_FLAG_RSF = ((uint16_t)0x2000), RTC_FLAG_INITS = ((uint16_t)0x1000),
  RTC_FLAG_SHPF = ((uint16_t)0x0800), RTC_FLAG_WUTWF = ((uint16_t)0x0400), RTC_FLAG_RECALPF = ((uint16_t)0x0200), RTC_FLAG_ALRAWF = ((uint16_t)0x0100)
}

Enumeration Type Documentation

Enumerator:
RTC_FLAG_TAMP3F 

TAMPER3 detection Flag. If set, tamper detection event is detected on tamper input 3

RTC_FLAG_TAMP2F 

TAMPER2 detection Flag. If set, tamper detection event is detected on tamper input 2

RTC_FLAG_TAMP1F 

TAMPER1 detection Flag. If set, tamper detection event is detected on tamper input 1

RTC_FLAG_WUTF 

Wake up Timer Flag. If set, the Wake Up down counter reaches 0

RTC_FLAG_ALRAF 

Alarm A Flag. If set, the Time/Date registers matches Alarm A registers

RTC_FLAG_INITF 

Initialisation Flag. If set,Calender registers has been initialized

RTC_FLAG_RSF 

Registers Synchronization Flag. If set,Calender registers synchronized

RTC_FLAG_INITS 

Initialisation Status Flag. If set,Calender update is allowed

RTC_FLAG_SHPF 

Shift operation pending Flag. This flag is set by hardware as soon as a shift operation is initiated by a write to the RTC_SHIFTRL. It is cleared by hardware as soon as the corresponding shift operation has completed.

RTC_FLAG_WUTWF 

Wake up Timer write Flag. If set, Wake up Timer update is allowed

RTC_FLAG_RECALPF 

Recalibration pending Flag, The status flag RECALPF is automatically set to �1� when software writes to the register RTC_CALRL, indicating that the RTC_CALRx registers are blocked. When the new calibration settings are taken into account, this Flag returns by hardware to �0�.

RTC_FLAG_ALRAWF 

Alarm A write Flag. If set, Alarm A update is allowed

Definition at line 279 of file stm8l15x_rtc.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com