- #ifndef _CLOCK_H__
- #define _CLOCK_H__
- #include <stdint.h>
- void delay_us(uint32_t us);
- uint32_t get_sys_clock(void);
- uint32_t get_ahb_clock(void);
- uint32_t get_apb1_clock(void);
- uint32_t get_apb2_clock(void);
- uint32_t get_adc_clock(void);
- uint32_t get_apb1_timer_clock(void);
- uint32_t get_apb2_timer_clock(void);
- #endif /* _CLOCK_H__ */
|