You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
428 B
C
37 lines
428 B
C
#include "clocks.h"
|
|
|
|
static void xosc32k_init(void);
|
|
static void osculp32k_init(void);
|
|
|
|
void clocks_init()
|
|
{
|
|
|
|
|
|
#if CONF_XOSC32K_ENABLE == 1
|
|
xosc32k_init();
|
|
#endif
|
|
|
|
#if CONF_OSCULP32K_ENABLE == 1
|
|
osculp32k_init();
|
|
#endif
|
|
|
|
// wait xosc32k ready bit
|
|
|
|
#if CONF_XOSC0_ENABLE == 1
|
|
|
|
#endif
|
|
|
|
#if CONF_XOSC1_ENABLE == 1
|
|
|
|
#endif
|
|
|
|
// master clk init
|
|
|
|
#if (CONF_PORT_EVCTRL_ENABLE != 0)
|
|
#if CONF_CMCC_ENABLE
|
|
|
|
#endif
|
|
|
|
|
|
}
|