Programmable Clock with RTOS 0.0.1
Implementaiton of a programmable clock using RTOS with STM32GO microcontroller.
Loading...
Searching...
No Matches
Initial values for RTC

Macros

#define RTC_INIT_PASYNC   127
 
#define RTC_INIT_PSYNC   255
 
#define RTC_INITIAL_HOUR   0x12
 
#define RTC_INITIAL_MIN   0x00
 
#define RTC_INITIAL_SEC   0x00
 
#define RTC_INITIAL_SSEC   0x00
 
#define RTC_INITIAL_MDAY   0x01
 
#define RTC_INITIAL_YEAR   0x00
 
#define RTC_INITIAL_YEARH   20
 

Detailed Description

Macro Definition Documentation

◆ RTC_INIT_PASYNC

#define RTC_INIT_PASYNC   127

Value for RTC async prediv

◆ RTC_INIT_PSYNC

#define RTC_INIT_PSYNC   255

Value for RTC sync prediv

◆ RTC_INITIAL_HOUR

#define RTC_INITIAL_HOUR   0x12

Initial RTC hour

◆ RTC_INITIAL_MDAY

#define RTC_INITIAL_MDAY   0x01

Initial RTC day

◆ RTC_INITIAL_MIN

#define RTC_INITIAL_MIN   0x00

Initial RTC minutes

◆ RTC_INITIAL_SEC

#define RTC_INITIAL_SEC   0x00

Initial RTC seconds

◆ RTC_INITIAL_SSEC

#define RTC_INITIAL_SSEC   0x00

Initial RTC subseconds

◆ RTC_INITIAL_YEAR

#define RTC_INITIAL_YEAR   0x00

Initial RTC year 2 last digit

◆ RTC_INITIAL_YEARH

#define RTC_INITIAL_YEARH   20

Initial RTC year 2 first dig