1
0
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:
Hauke Petersen 2017-08-29 14:12:39 +02:00
parent 8816a3e8c5
commit 7b9d3b32ca
9 changed files with 5 additions and 8 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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
* @{