mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nrf51-based: share CLOCK_CORECLOCK define
This commit is contained in:
parent
8816a3e8c5
commit
7b9d3b32ca
@ -33,7 +33,6 @@
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -32,7 +32,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -32,7 +32,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -32,7 +32,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -35,7 +35,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -34,7 +34,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -34,7 +34,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -32,7 +32,6 @@ extern "C" {
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U) /* fixed for all nRF51822 */
|
||||
#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
|
||||
16: 16MHz crystal
|
||||
32: 32MHz crystal */
|
||||
|
@ -25,6 +25,11 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief System core clock speed, fixed to 16MHz for all NRF51x CPUs
|
||||
*/
|
||||
#define CLOCK_CORECLOCK (16000000U)
|
||||
|
||||
/**
|
||||
* @brief Redefine some peripheral names to unify them between nRF51 and 52
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user