mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/samd5x: use MHZ() macro
This commit is contained in:
parent
b5f407f9a4
commit
17304d390c
@ -22,6 +22,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "macros/units.h"
|
||||
#include "periph_cpu_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -31,7 +32,7 @@ extern "C" {
|
||||
/**
|
||||
* @brief DFLL runs at at fixed frequency of 48 MHz
|
||||
*/
|
||||
#define SAM0_DFLL_FREQ_HZ (48000000U)
|
||||
#define SAM0_DFLL_FREQ_HZ MHZ(48)
|
||||
|
||||
/**
|
||||
 * @brief XOSC is used to generate a fixed frequency of 48 MHz
|
||||
@ -41,12 +42,12 @@ extern "C" {
|
||||
/**
|
||||
* @brief DPLL must run with at least 96 MHz
|
||||
*/
|
||||
#define SAM0_DPLL_FREQ_MIN_HZ (96000000U)
|
||||
#define SAM0_DPLL_FREQ_MIN_HZ MHZ(96)
|
||||
|
||||
/**
|
||||
* @brief DPLL frequency must not exceed 200 MHz
|
||||
*/
|
||||
#define SAM0_DPLL_FREQ_MAX_HZ (200000000U)
|
||||
#define SAM0_DPLL_FREQ_MAX_HZ MHZ(20)
|
||||
|
||||
/**
|
||||
* @name Power mode configuration
|
||||
|
Loading…
Reference in New Issue
Block a user