1 /* 2 * Copyright (c) 2020 - 2024 Renesas Electronics Corporation and/or its affiliates 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef SYSTEM_RENESAS_ARM_H 8 #define SYSTEM_RENESAS_ARM_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 #include <stdint.h> 15 16 extern uint32_t SystemCoreClock; /** System Clock Frequency (Core Clock) */ 17 18 /** 19 * Initialize the system 20 * 21 * @param none 22 * @return none 23 * 24 * @brief Setup the microcontroller system. 25 * Initialize the System and update the SystemCoreClock variable. 26 */ 27 extern void SystemInit(void); 28 29 /** 30 * Update SystemCoreClock variable 31 * 32 * @param none 33 * @return none 34 * 35 * @brief Updates the SystemCoreClock with current core Clock 36 * retrieved from cpu registers. 37 */ 38 extern void SystemCoreClockUpdate(void); 39 40 #ifdef __cplusplus 41 } 42 #endif 43 44 #endif 45