|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
RTC Struct for date/time. More...
#include <tm_stm32_rtc.h>
Data Fields | |
| uint8_t | Seconds |
| uint16_t | Subseconds |
| uint8_t | Minutes |
| uint8_t | Hours |
| uint8_t | WeekDay |
| uint8_t | Day |
| uint8_t | Month |
| uint8_t | Year |
| uint32_t | Unix |
RTC Struct for date/time.
| uint8_t Day |
Day in a month, 1 to 31
| uint8_t Hours |
Hours parameter, 24Hour mode, 00 to 23
| uint8_t Minutes |
Minutes parameter, from 00 to 59
| uint8_t Month |
Month in a year, 1 to 12
| uint8_t Seconds |
Seconds parameter, from 00 to 59
| uint16_t Subseconds |
Subsecond downcounter. When it reaches zero, it's reload value is the same as RTC_SYNC_PREDIV, so in our case 0x3FF = 1023, 1024 steps in one second
| uint32_t Unix |
Seconds from 01.01.1970 00:00:00
| uint8_t WeekDay |
Day in a week, 1 to 7
| uint8_t Year |
Year parameter, 00 to 99, 00 is 2000 and 99 is 2099