M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
Modules | Macros
RTC Exported Constants
Collaboration diagram for RTC Exported Constants:

Modules

 RTC Exported Structs
 

Macros

#define RTC_INIT_KEY   0xA5EB1357UL
 
#define RTC_WRITE_KEY   0x0000A965UL
 
#define RTC_CLOCK_12   0
 
#define RTC_CLOCK_24   1
 
#define RTC_AM   1
 
#define RTC_PM   2
 
#define RTC_TICK_1_SEC   0x0UL
 
#define RTC_TICK_1_2_SEC   0x1UL
 
#define RTC_TICK_1_4_SEC   0x2UL
 
#define RTC_TICK_1_8_SEC   0x3UL
 
#define RTC_TICK_1_16_SEC   0x4UL
 
#define RTC_TICK_1_32_SEC   0x5UL
 
#define RTC_TICK_1_64_SEC   0x6UL
 
#define RTC_TICK_1_128_SEC   0x7UL
 
#define RTC_SUNDAY   0x0UL
 
#define RTC_MONDAY   0x1UL
 
#define RTC_TUESDAY   0x2UL
 
#define RTC_WEDNESDAY   0x3UL
 
#define RTC_THURSDAY   0x4UL
 
#define RTC_FRIDAY   0x5UL
 
#define RTC_SATURDAY   0x6UL
 
#define RTC_SNOOPER_LOW_LEVEL   0x0UL
 
#define RTC_SNOOPER_HIGH_LEVEL   0x2UL
 
#define RTC_SNOOPER_FALLING_EDGE   0x8UL
 
#define RTC_SNOOPER_RISING_EDGE   0xAUL
 
#define RTC_SNOOPER_DETECT_Msk   0xAUL
 
#define RTC_WAIT_COUNT   0xFFFFFFFF
 
#define RTC_YEAR2000   2000
 
#define RTC_FCR_REFERENCE   32761
 

Detailed Description

Macro Definition Documentation

◆ RTC_AM

#define RTC_AM   1

RTC as AM indication

Definition at line 39 of file rtc.h.

◆ RTC_CLOCK_12

#define RTC_CLOCK_12   0

RTC as 12-hour time scale with AM and PM indication

Definition at line 37 of file rtc.h.

◆ RTC_CLOCK_24

#define RTC_CLOCK_24   1

RTC as 24-hour time scale

Definition at line 38 of file rtc.h.

◆ RTC_FCR_REFERENCE

#define RTC_FCR_REFERENCE   32761

RTC Reference for frequency compensation

Definition at line 79 of file rtc.h.

◆ RTC_FRIDAY

#define RTC_FRIDAY   0x5UL

Day of the Week is Friday

Definition at line 62 of file rtc.h.

◆ RTC_INIT_KEY

#define RTC_INIT_KEY   0xA5EB1357UL

RTC Initiation Key to make RTC leaving reset state

Definition at line 31 of file rtc.h.

◆ RTC_MONDAY

#define RTC_MONDAY   0x1UL

Day of the Week is Monday

Definition at line 58 of file rtc.h.

◆ RTC_PM

#define RTC_PM   2

RTC as PM indication

Definition at line 40 of file rtc.h.

◆ RTC_SATURDAY

#define RTC_SATURDAY   0x6UL

Day of the Week is Saturday

Definition at line 63 of file rtc.h.

◆ RTC_SNOOPER_DETECT_Msk

#define RTC_SNOOPER_DETECT_Msk   0xAUL

Snooper pin detected mask bits

Definition at line 72 of file rtc.h.

◆ RTC_SNOOPER_FALLING_EDGE

#define RTC_SNOOPER_FALLING_EDGE   0x8UL

Snooper pin detected is falling-edge trigger

Definition at line 70 of file rtc.h.

◆ RTC_SNOOPER_HIGH_LEVEL

#define RTC_SNOOPER_HIGH_LEVEL   0x2UL

Snooper pin detected is high-level trigger

Definition at line 69 of file rtc.h.

◆ RTC_SNOOPER_LOW_LEVEL

#define RTC_SNOOPER_LOW_LEVEL   0x0UL

Snooper pin detected is low-level trigger

Definition at line 68 of file rtc.h.

◆ RTC_SNOOPER_RISING_EDGE

#define RTC_SNOOPER_RISING_EDGE   0xAUL

Snooper pin detected is rising-edge trigger

Definition at line 71 of file rtc.h.

◆ RTC_SUNDAY

#define RTC_SUNDAY   0x0UL

Day of the Week is Sunday

Definition at line 57 of file rtc.h.

◆ RTC_THURSDAY

#define RTC_THURSDAY   0x4UL

Day of the Week is Thursday

Definition at line 61 of file rtc.h.

◆ RTC_TICK_1_128_SEC

#define RTC_TICK_1_128_SEC   0x7UL

RTC time tick period is 1/128 second

Definition at line 52 of file rtc.h.

◆ RTC_TICK_1_16_SEC

#define RTC_TICK_1_16_SEC   0x4UL

RTC time tick period is 1/16 second

Definition at line 49 of file rtc.h.

◆ RTC_TICK_1_2_SEC

#define RTC_TICK_1_2_SEC   0x1UL

RTC time tick period is 1/2 second

Definition at line 46 of file rtc.h.

◆ RTC_TICK_1_32_SEC

#define RTC_TICK_1_32_SEC   0x5UL

RTC time tick period is 1/32 second

Definition at line 50 of file rtc.h.

◆ RTC_TICK_1_4_SEC

#define RTC_TICK_1_4_SEC   0x2UL

RTC time tick period is 1/4 second

Definition at line 47 of file rtc.h.

◆ RTC_TICK_1_64_SEC

#define RTC_TICK_1_64_SEC   0x6UL

RTC time tick period is 1/64 second

Definition at line 51 of file rtc.h.

◆ RTC_TICK_1_8_SEC

#define RTC_TICK_1_8_SEC   0x3UL

RTC time tick period is 1/8 second

Definition at line 48 of file rtc.h.

◆ RTC_TICK_1_SEC

#define RTC_TICK_1_SEC   0x0UL

RTC time tick period is 1 second

Definition at line 45 of file rtc.h.

◆ RTC_TUESDAY

#define RTC_TUESDAY   0x2UL

Day of the Week is Tuesday

Definition at line 59 of file rtc.h.

◆ RTC_WAIT_COUNT

#define RTC_WAIT_COUNT   0xFFFFFFFF

Initial Time-out Value

Definition at line 77 of file rtc.h.

◆ RTC_WEDNESDAY

#define RTC_WEDNESDAY   0x3UL

Day of the Week is Wednesday

Definition at line 60 of file rtc.h.

◆ RTC_WRITE_KEY

#define RTC_WRITE_KEY   0x0000A965UL

RTC Register Access Enable Key to enable RTC read/write accessible and kept 1024 RTC clock

Definition at line 32 of file rtc.h.

◆ RTC_YEAR2000

#define RTC_YEAR2000   2000

RTC Reference for compute year data

Definition at line 78 of file rtc.h.