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

cpu/nrf53: introduce peripheral clocks defines

Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
Dylan Laduranty 2023-07-07 09:07:52 +02:00 committed by dylad
parent 6ea5081da9
commit 2033911b7f

View File

@ -26,6 +26,15 @@
extern "C" {
#endif
/**
* @brief Peripheral clocks speed
*/
#define PERIPH_CLOCK_1MHZ MHZ(1) /**< 1MHz peripheral clock */
#define PERIPH_CLOCK_16MHZ MHZ(16) /**< 16MHz peripheral clock */
#define PERIPH_CLOCK_32MHZ MHZ(32) /**< 32MHz peripheral clock */
#define PERIPH_CLOCK_64MHZ MHZ(64) /**< 64MHz peripheral clock */
#define PERIPH_CLOCK PERIPH_CLOCK_16MHZ /**< For driver compatibility */
#ifndef DOXYGEN
/**
* @brief Wrapper to fix differences between nRF families vendor files