Loading...
Searching...
No Matches
cfg_clock_16_1.h File Reference

Common clock configuration for some nrf51 based boards. More...

Detailed Description

Common clock configuration for some nrf51 based boards.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file cfg_clock_16_1.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_clock_16_1.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Clock configuration

Note
The radio will not work with the internal RC oscillator!
#define CLOCK_HFCLK
 
#define CLOCK_LFCLK   (CLOCK_LFCLKSRC_SRC_Xtal)
 LFCLK Source.
 

Macro Definition Documentation

◆ CLOCK_HFCLK

#define CLOCK_HFCLK
Value:
(16U) /* set to 0: internal RC oscillator
16: 16MHz crystal
32: 32MHz crystal */

Definition at line 35 of file cfg_clock_16_1.h.

◆ CLOCK_LFCLK

#define CLOCK_LFCLK   (CLOCK_LFCLKSRC_SRC_Xtal)

LFCLK Source.

Definition at line 40 of file cfg_clock_16_1.h.