libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Defined Constants and Types for the NRF51xx Clock control More...
Enumerations | |
enum | clock_lfclk_src { CLOCK_LFCLK_SRC_RC , CLOCK_LFCLK_SRC_XTAL , CLOCK_LFCLK_SRC_SYNTH } |
Defined Constants and Types for the NRF51xx Clock control
LGPL License Terms libopencm3 License
#define CLOCK_CTIV MMIO32(CLOCK_BASE + 0x538) |
Definition at line 60 of file common/clock.h.
#define CLOCK_EVENT_CTTO MMIO32(CLOCK_BASE + 0x110) |
Definition at line 49 of file common/clock.h.
#define CLOCK_EVENT_DONE MMIO32(CLOCK_BASE + 0x10C) |
Definition at line 48 of file common/clock.h.
#define CLOCK_EVENT_HFCLKSTARTED MMIO32(CLOCK_BASE + 0x100) |
Definition at line 46 of file common/clock.h.
#define CLOCK_EVENT_LFCLKSTARTED MMIO32(CLOCK_BASE + 0x104) |
Definition at line 47 of file common/clock.h.
#define CLOCK_HFCLKRUN MMIO32(CLOCK_BASE + 0x408) |
Definition at line 54 of file common/clock.h.
#define CLOCK_HFCLKRUN_STATUS (1 << 0) |
Definition at line 68 of file common/clock.h.
#define CLOCK_HFCLKSTAT MMIO32(CLOCK_BASE + 0x40C) |
Definition at line 55 of file common/clock.h.
#define CLOCK_HFCLKSTAT_SRC (1 << 0) |
Definition at line 70 of file common/clock.h.
#define CLOCK_HFCLKSTAT_STATE (1 << 16) |
Definition at line 71 of file common/clock.h.
#define CLOCK_INTEN_CTTO (1 << 4) |
Definition at line 66 of file common/clock.h.
#define CLOCK_INTEN_DONE (1 << 3) |
Definition at line 65 of file common/clock.h.
#define CLOCK_INTEN_HFCLKSTARTED (1 << 0) |
Definition at line 63 of file common/clock.h.
#define CLOCK_INTEN_LFCLKSTARTED (1 << 1) |
Definition at line 64 of file common/clock.h.
#define CLOCK_INTENCLR MMIO32(CLOCK_BASE + 0x308) |
Definition at line 53 of file common/clock.h.
#define CLOCK_INTENSET MMIO32(CLOCK_BASE + 0x304) |
Definition at line 52 of file common/clock.h.
#define CLOCK_LFCLK_SRC_MASK (3 << CLOCK_LFCLKSTAT_SRC_SHIFT) |
Definition at line 76 of file common/clock.h.
#define CLOCK_LFCLK_SRC_MASKED | ( | V | ) | (((V) << CLOCK_LFCLKSTAT_SRC_SHIFT) & CLOCK_LFCLKSTAT_SRC_MASK) |
Definition at line 77 of file common/clock.h.
#define CLOCK_LFCLK_SRC_SHIFT (0) |
Definition at line 75 of file common/clock.h.
#define CLOCK_LFCLKRUN MMIO32(CLOCK_BASE + 0x414) |
Definition at line 56 of file common/clock.h.
#define CLOCK_LFCLKRUN_STATUS (1 << 0) |
Definition at line 73 of file common/clock.h.
#define CLOCK_LFCLKSRC MMIO32(CLOCK_BASE + 0x518) |
Definition at line 59 of file common/clock.h.
#define CLOCK_LFCLKSRCCOPY MMIO32(CLOCK_BASE + 0x41C) |
Definition at line 58 of file common/clock.h.
#define CLOCK_LFCLKSTAT MMIO32(CLOCK_BASE + 0x418) |
Definition at line 57 of file common/clock.h.
#define CLOCK_LFCLKSTAT_STATE (1 << 16) |
Definition at line 79 of file common/clock.h.
#define CLOCK_TASK_CAL MMIO32(CLOCK_BASE + 0x010) |
Definition at line 41 of file common/clock.h.
#define CLOCK_TASK_CTSTART MMIO32(CLOCK_BASE + 0x014) |
Definition at line 42 of file common/clock.h.
#define CLOCK_TASK_CTSTOP MMIO32(CLOCK_BASE + 0x018) |
Definition at line 43 of file common/clock.h.
#define CLOCK_TASK_HFCLKSTART MMIO32(CLOCK_BASE + 0x000) |
Definition at line 37 of file common/clock.h.
#define CLOCK_TASK_HFCLKSTOP MMIO32(CLOCK_BASE + 0x004) |
Definition at line 38 of file common/clock.h.
#define CLOCK_TASK_LFCLKSTART MMIO32(CLOCK_BASE + 0x008) |
Definition at line 39 of file common/clock.h.
#define CLOCK_TASK_LFCLKSTOP MMIO32(CLOCK_BASE + 0x00C) |
Definition at line 40 of file common/clock.h.
enum clock_lfclk_src |
Enumerator | |
---|---|
CLOCK_LFCLK_SRC_RC | |
CLOCK_LFCLK_SRC_XTAL | |
CLOCK_LFCLK_SRC_SYNTH |
Definition at line 81 of file common/clock.h.