libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the Real Time Clock More...
Macros | |
#define | RTC_CTRL (RTC_BASE + 0x000) |
#define | RTC_CNT (RTC_BASE + 0x004) |
#define | RTC_COMP0 (RTC_BASE + 0x008) |
#define | RTC_COMP1 (RTC_BASE + 0x00C) |
#define | RTC_IF (RTC_BASE + 0x010) |
#define | RTC_IFS (RTC_BASE + 0x014) |
#define | RTC_IFC (RTC_BASE + 0x018) |
#define | RTC_IEN (RTC_BASE + 0x01C) |
#define | RTC_FREEZE (RTC_BASE + 0x020) |
#define | RTC_SYNCBUSY (RTC_BASE + 0x024) |
#define | RTC_CTRL_COMP0TOP (1 << 2) |
#define | RTC_CTRL_DEBUGRUN (1 << 1) |
#define | RTC_CTRL_EN (1 << 0) |
#define | RTC_IF_COMP1 (1 << 2) |
#define | RTC_IF_COMP0 (1 << 1) |
#define | RTC_IF_OF (1 << 0) |
#define | RTC_IFS_COMP1 (1 << 2) |
#define | RTC_IFS_COMP0 (1 << 1) |
#define | RTC_IFS_OF (1 << 0) |
#define | RTC_IFC_COMP1 (1 << 2) |
#define | RTC_IFC_COMP0 (1 << 1) |
#define | RTC_IFC_OF (1 << 0) |
#define | RTC_IFE_COMP1 (1 << 2) |
#define | RTC_IFE_COMP0 (1 << 1) |
#define | RTC_IFE_OF (1 << 0) |
#define | RTC_FREEZE_REGFREEZE (1 << 0) |
#define | RTC_SYNCBUSY_COMP1 (1 << 2) |
#define | RTC_SYNCBUSY_COMP0 (1 << 1) |
#define | RTC_SYNCBUSY_CTRL (1 << 0) |
Defined Constants and Types for the Real Time Clock
LGPL License Terms libopencm3 License
#define RTC_CNT (RTC_BASE + 0x004) |
Definition at line 30 of file rtc_common.h.
#define RTC_COMP0 (RTC_BASE + 0x008) |
Definition at line 31 of file rtc_common.h.
#define RTC_COMP1 (RTC_BASE + 0x00C) |
Definition at line 32 of file rtc_common.h.
#define RTC_CTRL (RTC_BASE + 0x000) |
Definition at line 29 of file rtc_common.h.
#define RTC_CTRL_COMP0TOP (1 << 2) |
Definition at line 41 of file rtc_common.h.
#define RTC_CTRL_DEBUGRUN (1 << 1) |
Definition at line 42 of file rtc_common.h.
#define RTC_CTRL_EN (1 << 0) |
Definition at line 43 of file rtc_common.h.
#define RTC_FREEZE (RTC_BASE + 0x020) |
Definition at line 37 of file rtc_common.h.
#define RTC_FREEZE_REGFREEZE (1 << 0) |
Definition at line 66 of file rtc_common.h.
#define RTC_IEN (RTC_BASE + 0x01C) |
Definition at line 36 of file rtc_common.h.
#define RTC_IF (RTC_BASE + 0x010) |
Definition at line 33 of file rtc_common.h.
#define RTC_IF_COMP0 (1 << 1) |
Definition at line 47 of file rtc_common.h.
#define RTC_IF_COMP1 (1 << 2) |
Definition at line 46 of file rtc_common.h.
#define RTC_IF_OF (1 << 0) |
Definition at line 48 of file rtc_common.h.
#define RTC_IFC (RTC_BASE + 0x018) |
Definition at line 35 of file rtc_common.h.
#define RTC_IFC_COMP0 (1 << 1) |
Definition at line 57 of file rtc_common.h.
#define RTC_IFC_COMP1 (1 << 2) |
Definition at line 56 of file rtc_common.h.
#define RTC_IFC_OF (1 << 0) |
Definition at line 58 of file rtc_common.h.
#define RTC_IFE_COMP0 (1 << 1) |
Definition at line 62 of file rtc_common.h.
#define RTC_IFE_COMP1 (1 << 2) |
Definition at line 61 of file rtc_common.h.
#define RTC_IFE_OF (1 << 0) |
Definition at line 63 of file rtc_common.h.
#define RTC_IFS (RTC_BASE + 0x014) |
Definition at line 34 of file rtc_common.h.
#define RTC_IFS_COMP0 (1 << 1) |
Definition at line 52 of file rtc_common.h.
#define RTC_IFS_COMP1 (1 << 2) |
Definition at line 51 of file rtc_common.h.
#define RTC_IFS_OF (1 << 0) |
Definition at line 53 of file rtc_common.h.
#define RTC_SYNCBUSY (RTC_BASE + 0x024) |
Definition at line 38 of file rtc_common.h.
#define RTC_SYNCBUSY_COMP0 (1 << 1) |
Definition at line 70 of file rtc_common.h.
#define RTC_SYNCBUSY_COMP1 (1 << 2) |
Definition at line 69 of file rtc_common.h.
#define RTC_SYNCBUSY_CTRL (1 << 0) |
Definition at line 71 of file rtc_common.h.