libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <stdbool.h>
#include <libopencm3/cm3/common.h>
#include <libopencm3/nrf/memorymap.h>
#include <libopencm3/nrf/common/clock.h>
Go to the source code of this file.
Macros | |
#define | CLOCK_XTALFREQ MMIO32(CLOCK_BASE + 0x550) |
#define | CLOCK_PCLK 16000000 |
Enumerations | |
enum | clock_xtal_freq { CLOCK_XTAL_FREQ_32MHZ , CLOCK_XTAL_FREQ_16MHZ = 0xff } |
Functions | |
void | clock_set_xtal_freq (enum clock_xtal_freq freq) |
Select nominal frequency of external crystal for HFCLK. More... | |
#define CLOCK_PCLK 16000000 |
Definition at line 44 of file 51/clock.h.
#define CLOCK_XTALFREQ MMIO32(CLOCK_BASE + 0x550) |
Definition at line 42 of file 51/clock.h.
enum clock_xtal_freq |
Enumerator | |
---|---|
CLOCK_XTAL_FREQ_32MHZ | |
CLOCK_XTAL_FREQ_16MHZ |
Definition at line 46 of file 51/clock.h.