1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/nrf52: share const CLOCK_CORECLOCK

This commit is contained in:
Hauke Petersen 2017-08-29 17:28:10 +02:00
parent 55c09a7471
commit e51ff56b96
3 changed files with 5 additions and 2 deletions

View File

@ -33,7 +33,6 @@ extern "C" {
*
* @{
*/
#define CLOCK_CORECLOCK (64000000U) /* fixed for all nRF52832 */
#define CLOCK_HFCLK (32U) /* set to 0: internal RC oscillator
* 32: 32MHz crystal */
#define CLOCK_LFCLK (1) /* set to 0: internal RC oscillator

View File

@ -33,7 +33,6 @@ extern "C" {
*
* @{
*/
#define CLOCK_CORECLOCK (64000000U) /* fixed for all nRF52832 */
#define CLOCK_HFCLK (32U) /* set to 0: internal RC oscillator
* 32: 32MHz crystal */
#define CLOCK_LFCLK (1) /* set to 0: internal RC oscillator

View File

@ -25,6 +25,11 @@
extern "C" {
#endif
/**
* @brief System core clock speed, fixed to 64MHz for all NRF52x CPUs
*/
#define CLOCK_CORECLOCK (64000000U)
/**
* @brief Redefine some peripheral names to unify them between nRF51 and 52
* @{