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:
parent
55c09a7471
commit
e51ff56b96
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user