cpu/fe310: rework clock initialization

This commit is contained in:
Alexandre Abadie
2020-01-10 16:41:33 +01:00
parent 97e1c7ba7e
commit fc911bf6c5
2 changed files with 81 additions and 22 deletions
+7
View File
@@ -44,6 +44,13 @@ void cpu_init(void);
*/
void clock_init(void);
/**
* @brief Get and eventually compute the current CPU core clock frequency
*
* @return the cpu core clock frequency in Hz
*/
uint32_t cpu_freq(void);
/**
* @brief Initialization of interrupts
*/