#define  FSYS_HXT   0
#define  FSYS_LXT   1
#define  FSYS_HIRC  2
#define  FSYS_LIRC  3
#define  FSYS_OSCIN_P30  4
#define  FSYS_HXTIN_P00  5

#define  HIRC_24        6
#define  HIRC_16        7
#define  HIRC_166       8

void FsysSelect(uint8_t u8FsysMode);
void ClockEnable(uint8_t u8FsysMode);
void ClockDisable(uint8_t u8FsysMode);
void ClockSwitch(uint8_t u8FsysMode);
void MODIFY_HIRC(uint8_t u8HIRCSEL);


