Defined Constants and Types for the NRF52xx Realtime clock
More...
Defined Constants and Types for the NRF52xx Realtime clock
- Version
- 1.0.0
- Date
- Nov 2021
LGPL License Terms libopencm3 License
- Author
- © 2016 Maxim Sloyko maxim.nosp@m.s@go.nosp@m.ogle..nosp@m.com
-
© 2021 Eduard Drusa <ventyl86 at netkosice dot sk>
◆ RTC_CC
#define RTC_CC |
( |
|
rtc, |
|
|
|
i |
|
) |
| MMIO32((rtc) + 0x540 + 0x4 * (i)) |
◆ RTC_COUNTER
#define RTC_COUNTER |
( |
|
rtc | ) |
MMIO32((rtc) + 0x504) |
◆ RTC_EVENT_COMPARE
#define RTC_EVENT_COMPARE |
( |
|
rtc, |
|
|
|
i |
|
) |
| MMIO32((rtc) + 0x140 + 0x4 * (i)) |
◆ RTC_EVENT_OVRFLW
#define RTC_EVENT_OVRFLW |
( |
|
rtc | ) |
MMIO32((rtc) + 0x104) |
◆ RTC_EVENT_TICK
#define RTC_EVENT_TICK |
( |
|
rtc | ) |
MMIO32((rtc) + 0x100) |
◆ RTC_EVTEN
#define RTC_EVTEN |
( |
|
rtc | ) |
MMIO32((rtc) + 0x340) |
◆ RTC_EVTENCLR
#define RTC_EVTENCLR |
( |
|
rtc | ) |
MMIO32((rtc) + 0x348) |
◆ RTC_EVTENSET
#define RTC_EVTENSET |
( |
|
rtc | ) |
MMIO32((rtc) + 0x344) |
◆ RTC_INTEN
◆ RTC_INTEN_COMPARE
#define RTC_INTEN_COMPARE |
( |
|
n | ) |
(1 << (16 + (n))) |
◆ RTC_INTEN_OVRFLW
#define RTC_INTEN_OVRFLW (1 << 1) |
◆ RTC_INTEN_TICK
#define RTC_INTEN_TICK (1 << 0) |
◆ RTC_INTENCLR
◆ RTC_INTENSET
◆ RTC_PRESCALER
#define RTC_PRESCALER |
( |
|
rtc | ) |
MMIO32((rtc) + 0x508) |
◆ RTC_TASK_CLEAR
#define RTC_TASK_CLEAR |
( |
|
rtc | ) |
MMIO32((rtc) + 0x008) |
◆ RTC_TASK_START
#define RTC_TASK_START |
( |
|
rtc | ) |
MMIO32((rtc) + 0x000) |
◆ RTC_TASK_STOP
#define RTC_TASK_STOP |
( |
|
rtc | ) |
MMIO32((rtc) + 0x004) |
◆ RTC_TASK_TRIGOVRFLW
#define RTC_TASK_TRIGOVRFLW |
( |
|
rtc | ) |
MMIO32((rtc) + 0x00C) |