STM8L15x Standard Peripherals Drivers: RTC_DateTypeDef Struct Reference

STM8L15x/16x Standard Peripherals Drivers

RTC_DateTypeDef Struct Reference

RTC Date structure definition. More...

#include <stm8l15x_rtc.h>

Data Fields

uint8_t RTC_Date
RTC_Month_TypeDef RTC_Month
RTC_Weekday_TypeDef RTC_WeekDay
uint8_t RTC_Year

Detailed Description

RTC Date structure definition.

Definition at line 519 of file stm8l15x_rtc.h.


Field Documentation

The RTC Calender Date. If Binary format is selected, this parameter can be any value from 1 to 31. If BCD format is selected, this parameter can be any BCD value from 0x01 to 0x31.

Definition at line 525 of file stm8l15x_rtc.h.

Referenced by RTC_DateStructInit(), RTC_GetDate(), and RTC_SetDate().

The RTC Calender Month.

Definition at line 523 of file stm8l15x_rtc.h.

Referenced by RTC_DateStructInit(), RTC_GetDate(), and RTC_SetDate().

The RTC Calender Weekday.

Definition at line 521 of file stm8l15x_rtc.h.

Referenced by RTC_DateStructInit(), RTC_GetDate(), and RTC_SetDate().

The RTC Calender Date. If Binary format is selected, this parameter can be any value from 0 to 99. If BCD format is selected, this parameter can be any BCD value from 0x00 to 0x99.

Definition at line 531 of file stm8l15x_rtc.h.

Referenced by RTC_DateStructInit(), RTC_GetDate(), and RTC_SetDate().


The documentation for this struct was generated from the following file:
STM8S Firmware Library: Overview

 

 

 

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