mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/microbit: use common clock config
This commit is contained in:
parent
a248a0aa51
commit
4805fcc0a8
@ -20,26 +20,12 @@
|
|||||||
#define PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
#include "periph_cpu.h"
|
#include "periph_cpu.h"
|
||||||
|
#include "cfg_clock_16_0.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Clock configuration
|
|
||||||
*
|
|
||||||
* @note The radio will not work with the internal RC oscillator!
|
|
||||||
*
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
|
||||||
16: 16MHz crystal
|
|
||||||
32: 32MHz crystal */
|
|
||||||
#define CLOCK_LFCLK (0) /* set to 0: internal RC oscillator
|
|
||||||
* 1: 32.768 kHz crystal
|
|
||||||
* 2: derived from HFCLK */
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Timer configuration
|
* @name Timer configuration
|
||||||
* @{
|
* @{
|
||||||
|
Loading…
Reference in New Issue
Block a user