M480 BSP V3.05.005
The Board Support Package for M480 Series
Modules | Macros
RTC Exported Constants

Modules

 RTC Exported Structs
 

Macros

#define RTC_INIT_KEY
 
#define RTC_WRITE_KEY
 
#define RTC_CLOCK_12
 
#define RTC_CLOCK_24
 
#define RTC_AM
 
#define RTC_PM
 
#define RTC_TICK_1_SEC
 
#define RTC_TICK_1_2_SEC
 
#define RTC_TICK_1_4_SEC
 
#define RTC_TICK_1_8_SEC
 
#define RTC_TICK_1_16_SEC
 
#define RTC_TICK_1_32_SEC
 
#define RTC_TICK_1_64_SEC
 
#define RTC_TICK_1_128_SEC
 
#define RTC_SUNDAY
 
#define RTC_MONDAY
 
#define RTC_TUESDAY
 
#define RTC_WEDNESDAY
 
#define RTC_THURSDAY
 
#define RTC_FRIDAY
 
#define RTC_SATURDAY
 
#define RTC_WAIT_COUNT
 
#define RTC_YEAR2000
 
#define RTC_FCR_REFERENCE
 
#define RTC_TAMPER0_SELECT
 
#define RTC_TAMPER1_SELECT
 
#define RTC_TAMPER2_SELECT
 
#define RTC_TAMPER3_SELECT
 
#define RTC_TAMPER4_SELECT
 
#define RTC_TAMPER5_SELECT
 
#define MAX_TAMPER_PIN_NUM
 
#define RTC_TAMPER_HIGH_LEVEL_DETECT
 
#define RTC_TAMPER_LOW_LEVEL_DETECT
 
#define RTC_TAMPER_DEBOUNCE_ENABLE
 
#define RTC_TAMPER_DEBOUNCE_DISABLE
 
#define RTC_PAIR0_SELECT
 
#define RTC_PAIR1_SELECT
 
#define RTC_PAIR2_SELECT
 
#define MAX_PAIR_NUM
 
#define RTC_2POW10_CLK
 
#define RTC_2POW11_CLK
 
#define RTC_2POW12_CLK
 
#define RTC_2POW13_CLK
 
#define RTC_2POW14_CLK
 
#define RTC_2POW15_CLK
 
#define RTC_2POW16_CLK
 
#define RTC_2POW17_CLK
 
#define REF_RANDOM_PATTERN
 
#define REF_PREVIOUS_PATTERN
 
#define REF_SEED
 

Detailed Description

Macro Definition Documentation

◆ MAX_PAIR_NUM

#define MAX_PAIR_NUM

Pair number

Definition at line 91 of file rtc.h.

◆ MAX_TAMPER_PIN_NUM

#define MAX_TAMPER_PIN_NUM

Tamper Pin number

Definition at line 80 of file rtc.h.

◆ REF_PREVIOUS_PATTERN

#define REF_PREVIOUS_PATTERN

The new reference pattern is repeated previous random value when the reference pattern run out

Definition at line 103 of file rtc.h.

◆ REF_RANDOM_PATTERN

#define REF_RANDOM_PATTERN

The new reference pattern is generated by random number generator when the reference pattern run out

Definition at line 102 of file rtc.h.

◆ REF_SEED

#define REF_SEED

The new reference pattern is repeated from SEED (RTC_TAMPSEED[31:0]) when the reference pattern run out

Definition at line 104 of file rtc.h.

◆ RTC_2POW10_CLK

#define RTC_2POW10_CLK

1024 RTC clock cycles

Definition at line 93 of file rtc.h.

◆ RTC_2POW11_CLK

#define RTC_2POW11_CLK

1024 x 2 RTC clock cycles

Definition at line 94 of file rtc.h.

◆ RTC_2POW12_CLK

#define RTC_2POW12_CLK

1024 x 4 RTC clock cycles

Definition at line 95 of file rtc.h.

◆ RTC_2POW13_CLK

#define RTC_2POW13_CLK

1024 x 6 RTC clock cycles

Definition at line 96 of file rtc.h.

◆ RTC_2POW14_CLK

#define RTC_2POW14_CLK

1024 x 8 RTC clock cycles

Definition at line 97 of file rtc.h.

◆ RTC_2POW15_CLK

#define RTC_2POW15_CLK

1024 x 16 RTC clock cycles

Definition at line 98 of file rtc.h.

◆ RTC_2POW16_CLK

#define RTC_2POW16_CLK

1024 x 32 RTC clock cycles

Definition at line 99 of file rtc.h.

◆ RTC_2POW17_CLK

#define RTC_2POW17_CLK

1024 x 64 RTC clock cycles

Definition at line 100 of file rtc.h.

◆ RTC_AM

#define RTC_AM

RTC as AM indication

Definition at line 40 of file rtc.h.

◆ RTC_CLOCK_12

#define RTC_CLOCK_12

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

Definition at line 38 of file rtc.h.

◆ RTC_CLOCK_24

#define RTC_CLOCK_24

RTC as 24-hour time scale

Definition at line 39 of file rtc.h.

◆ RTC_FCR_REFERENCE

#define RTC_FCR_REFERENCE

RTC Reference for frequency compensation

Definition at line 71 of file rtc.h.

◆ RTC_FRIDAY

#define RTC_FRIDAY

Day of the Week is Friday

Definition at line 63 of file rtc.h.

◆ RTC_INIT_KEY

#define RTC_INIT_KEY

RTC Initiation Key to make RTC leaving reset state

Definition at line 32 of file rtc.h.

◆ RTC_MONDAY

#define RTC_MONDAY

Day of the Week is Monday

Definition at line 59 of file rtc.h.

◆ RTC_PAIR0_SELECT

#define RTC_PAIR0_SELECT

Select Pair 0

Definition at line 88 of file rtc.h.

◆ RTC_PAIR1_SELECT

#define RTC_PAIR1_SELECT

Select Pair 1

Definition at line 89 of file rtc.h.

◆ RTC_PAIR2_SELECT

#define RTC_PAIR2_SELECT

Select Pair 2

Definition at line 90 of file rtc.h.

◆ RTC_PM

#define RTC_PM

RTC as PM indication

Definition at line 41 of file rtc.h.

◆ RTC_SATURDAY

#define RTC_SATURDAY

Day of the Week is Saturday

Definition at line 64 of file rtc.h.

◆ RTC_SUNDAY

#define RTC_SUNDAY

Day of the Week is Sunday

Definition at line 58 of file rtc.h.

◆ RTC_TAMPER0_SELECT

#define RTC_TAMPER0_SELECT

Select Tamper 0

Definition at line 74 of file rtc.h.

◆ RTC_TAMPER1_SELECT

#define RTC_TAMPER1_SELECT

Select Tamper 1

Definition at line 75 of file rtc.h.

◆ RTC_TAMPER2_SELECT

#define RTC_TAMPER2_SELECT

Select Tamper 2

Definition at line 76 of file rtc.h.

◆ RTC_TAMPER3_SELECT

#define RTC_TAMPER3_SELECT

Select Tamper 3

Definition at line 77 of file rtc.h.

◆ RTC_TAMPER4_SELECT

#define RTC_TAMPER4_SELECT

Select Tamper 4

Definition at line 78 of file rtc.h.

◆ RTC_TAMPER5_SELECT

#define RTC_TAMPER5_SELECT

Select Tamper 5

Definition at line 79 of file rtc.h.

◆ RTC_TAMPER_DEBOUNCE_DISABLE

#define RTC_TAMPER_DEBOUNCE_DISABLE

Disable RTC tamper pin de-bounce function

Definition at line 86 of file rtc.h.

◆ RTC_TAMPER_DEBOUNCE_ENABLE

#define RTC_TAMPER_DEBOUNCE_ENABLE

Enable RTC tamper pin de-bounce function

Definition at line 85 of file rtc.h.

◆ RTC_TAMPER_HIGH_LEVEL_DETECT

#define RTC_TAMPER_HIGH_LEVEL_DETECT

Tamper pin detect voltage level is high

Definition at line 82 of file rtc.h.

◆ RTC_TAMPER_LOW_LEVEL_DETECT

#define RTC_TAMPER_LOW_LEVEL_DETECT

Tamper pin detect voltage level is low

Definition at line 83 of file rtc.h.

◆ RTC_THURSDAY

#define RTC_THURSDAY

Day of the Week is Thursday

Definition at line 62 of file rtc.h.

◆ RTC_TICK_1_128_SEC

#define RTC_TICK_1_128_SEC

RTC time tick period is 1/128 second

Definition at line 53 of file rtc.h.

◆ RTC_TICK_1_16_SEC

#define RTC_TICK_1_16_SEC

RTC time tick period is 1/16 second

Definition at line 50 of file rtc.h.

◆ RTC_TICK_1_2_SEC

#define RTC_TICK_1_2_SEC

RTC time tick period is 1/2 second

Definition at line 47 of file rtc.h.

◆ RTC_TICK_1_32_SEC

#define RTC_TICK_1_32_SEC

RTC time tick period is 1/32 second

Definition at line 51 of file rtc.h.

◆ RTC_TICK_1_4_SEC

#define RTC_TICK_1_4_SEC

RTC time tick period is 1/4 second

Definition at line 48 of file rtc.h.

◆ RTC_TICK_1_64_SEC

#define RTC_TICK_1_64_SEC

RTC time tick period is 1/64 second

Definition at line 52 of file rtc.h.

◆ RTC_TICK_1_8_SEC

#define RTC_TICK_1_8_SEC

RTC time tick period is 1/8 second

Definition at line 49 of file rtc.h.

◆ RTC_TICK_1_SEC

#define RTC_TICK_1_SEC

RTC time tick period is 1 second

Definition at line 46 of file rtc.h.

◆ RTC_TUESDAY

#define RTC_TUESDAY

Day of the Week is Tuesday

Definition at line 60 of file rtc.h.

◆ RTC_WAIT_COUNT

#define RTC_WAIT_COUNT

Initial Time-out Value

Definition at line 69 of file rtc.h.

◆ RTC_WEDNESDAY

#define RTC_WEDNESDAY

Day of the Week is Wednesday

Definition at line 61 of file rtc.h.

◆ RTC_WRITE_KEY

#define RTC_WRITE_KEY

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

Definition at line 33 of file rtc.h.

◆ RTC_YEAR2000

#define RTC_YEAR2000

RTC Reference for compute year data

Definition at line 70 of file rtc.h.