| NANO100_BSP V3.05.000 The Board Support Package for Nano100BN Series

Modules | Macros
RTC Exported Constants
NANO100 Device Driver » RTC Driver
Collaboration diagram for RTC Exported Constants:

## Modules
| RTC Exported Structs

## Macros
#define | RTC_INIT_KEY 0xA5EB1357
#define | RTC_WRITE_KEY 0xA965
#define | RTC_WAIT_COUNT 0xFFFFFFFF
#define | RTC_YEAR2000 2000
#define | RTC_FCR_REFERENCE 32761
#define | RTC_CLOCK_12 0
#define | RTC_CLOCK_24 1
#define | RTC_AM 1
#define | RTC_PM 2
#define | RTC_TICK_1_SEC ((uint32_t) 0x00000000)
#define | RTC_TICK_1_2_SEC ((uint32_t) 0x00000001)
#define | RTC_TICK_1_4_SEC ((uint32_t) 0x00000002)
#define | RTC_TICK_1_8_SEC ((uint32_t) 0x00000003)
#define | RTC_TICK_1_16_SEC ((uint32_t) 0x00000004)
#define | RTC_TICK_1_32_SEC ((uint32_t) 0x00000005)
#define | RTC_TICK_1_64_SEC ((uint32_t) 0x00000006)
#define | RTC_TICK_1_128_SEC ((uint32_t) 0x00000007)
#define | RTC_SUNDAY ((uint32_t) 0x00000000)
#define | RTC_MONDAY ((uint32_t) 0x00000001)
#define | RTC_TUESDAY ((uint32_t) 0x00000002)
#define | RTC_WEDNESDAY ((uint32_t) 0x00000003)
#define | RTC_THURSDAY ((uint32_t) 0x00000004)
#define | RTC_FRIDAY ((uint32_t) 0x00000005)
#define | RTC_SATURDAY ((uint32_t) 0x00000006)
#define | RTC_SNOOPER_RISING 0
#define | RTC_SNOOPER_FALLING 1

## Detailed Description

## Macro Definition Documentation

## ◆ RTC_AM

#define RTC_AM 1

RTC AM

Definition at line 46 of file rtc.h.

## ◆ RTC_CLOCK_12

#define RTC_CLOCK_12 0

RTC 12 Hour

Definition at line 43 of file rtc.h.

## ◆ RTC_CLOCK_24

#define RTC_CLOCK_24 1

RTC 24 Hour

Definition at line 44 of file rtc.h.

## ◆ RTC_FCR_REFERENCE

#define RTC_FCR_REFERENCE 32761

RTC Reference

Definition at line 41 of file rtc.h.

## ◆ RTC_FRIDAY

#define RTC_FRIDAY ((uint32_t) 0x00000005)

Day of week is friday

Definition at line 63 of file rtc.h.

## ◆ RTC_INIT_KEY

#define RTC_INIT_KEY 0xA5EB1357

RTC Access Key

Definition at line 35 of file rtc.h.

## ◆ RTC_MONDAY

#define RTC_MONDAY ((uint32_t) 0x00000001)

Day of week is monday

Definition at line 59 of file rtc.h.

## ◆ RTC_PM

#define RTC_PM 2

RTC PM

Definition at line 47 of file rtc.h.

## ◆ RTC_SATURDAY

#define RTC_SATURDAY ((uint32_t) 0x00000006)

Day of week is saturday

Definition at line 64 of file rtc.h.

## ◆ RTC_SNOOPER_FALLING

#define RTC_SNOOPER_FALLING 1

Snooper Active Falling Edge

Definition at line 68 of file rtc.h.

## ◆ RTC_SNOOPER_RISING

#define RTC_SNOOPER_RISING 0

Snooper Active Rising Edge

Definition at line 67 of file rtc.h.

## ◆ RTC_SUNDAY

#define RTC_SUNDAY ((uint32_t) 0x00000000)

Day of week is sunday

Definition at line 58 of file rtc.h.

## ◆ RTC_THURSDAY

#define RTC_THURSDAY ((uint32_t) 0x00000004)

Day of week is thursday

Definition at line 62 of file rtc.h.

## ◆ RTC_TICK_1_128_SEC

#define RTC_TICK_1_128_SEC ((uint32_t) 0x00000007)

Time tick is 1/128 second

Definition at line 56 of file rtc.h.

## ◆ RTC_TICK_1_16_SEC

#define RTC_TICK_1_16_SEC ((uint32_t) 0x00000004)

Time tick is 1/16 second

Definition at line 53 of file rtc.h.

## ◆ RTC_TICK_1_2_SEC

#define RTC_TICK_1_2_SEC ((uint32_t) 0x00000001)

Time tick is 1/2 second

Definition at line 50 of file rtc.h.

## ◆ RTC_TICK_1_32_SEC

#define RTC_TICK_1_32_SEC ((uint32_t) 0x00000005)

Time tick is 1/32 second

Definition at line 54 of file rtc.h.

## ◆ RTC_TICK_1_4_SEC

#define RTC_TICK_1_4_SEC ((uint32_t) 0x00000002)

Time tick is 1/4 second

Definition at line 51 of file rtc.h.

## ◆ RTC_TICK_1_64_SEC

#define RTC_TICK_1_64_SEC ((uint32_t) 0x00000006)

Time tick is 1/64 second

Definition at line 55 of file rtc.h.

## ◆ RTC_TICK_1_8_SEC

#define RTC_TICK_1_8_SEC ((uint32_t) 0x00000003)

Time tick is 1/8 second

Definition at line 52 of file rtc.h.

## ◆ RTC_TICK_1_SEC

#define RTC_TICK_1_SEC ((uint32_t) 0x00000000)

Time tick is 1 second

Definition at line 49 of file rtc.h.

## ◆ RTC_TUESDAY

#define RTC_TUESDAY ((uint32_t) 0x00000002)

Day of week is tuesday

Definition at line 60 of file rtc.h.

## ◆ RTC_WAIT_COUNT

#define RTC_WAIT_COUNT 0xFFFFFFFF

Initial Time Out Value

Definition at line 38 of file rtc.h.

## ◆ RTC_WEDNESDAY

#define RTC_WEDNESDAY ((uint32_t) 0x00000003)

Day of week is wednesday

Definition at line 61 of file rtc.h.

## ◆ RTC_WRITE_KEY

#define RTC_WRITE_KEY 0xA965

RTC Access Key

Definition at line 36 of file rtc.h.

## ◆ RTC_YEAR2000

#define RTC_YEAR2000 2000

RTC Reference

Definition at line 40 of file rtc.h.