You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
523 B

5 months ago
/** \file system_func.h */
#if !defined(SYSTEM_FUNC_H__78DAA660_0CE8_4BE5_B564_B28E6D65148D__INCLUDED_)
#define SYSTEM_FUNC_H__78DAA660_0CE8_4BE5_B564_B28E6D65148D__INCLUDED_
#include "board_config.h"
typedef enum
{
HIRC_96MHZ,
HIRC_48MHZ,
HIRC_24MHZ,
}SYSTEM_CORE_CLOCK_LIST;
#define Delay_ms(delay) mxc_delay(MXC_DELAY_MSEC(delay))
#define Delay_us(delay) mxc_delay(MXC_DELAY_USEC(delay))
5 months ago
void SystemCoreClockSet(SYSTEM_CORE_CLOCK_LIST clock);
uint32_t SystemTimer_Get_TickCount(void);
5 months ago
#endif