PicoWAN SDK Documentation
clocks.h
Go to the documentation of this file.
1 
39 #ifndef _CLOCKS_H_
40 #define _CLOCKS_H_
41 
42 #include <os.h>
43 
44 typedef struct {
45  uint32_t SYSCLK_Frequency;
46  uint32_t HCLK_Frequency;
47  uint32_t PCLK1_Frequency;
48  uint32_t PCLK2_Frequency;
49 } clocks_t;
50 
51 
57 void clocks_get_freq(clocks_t *clocks);
58 
59 #endif /* _CLOCKS_H_ */
void clocks_get_freq(clocks_t *clocks)
Gets the frequencies of various system clocks.
Definition: clocks.c:86
Implementation of a Low-Power scheduler.
Definition: clocks.h:44