⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system.h

📁 S3C2443的USB 的驱动程序
💻 H
字号:
#ifndef __SYSTEM_H__
#define __SYSTEM_H__


#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>

#include "Def.h"
#include "Option.h"
#include "2443addr.h"
#include "Console.h"
#include "2443gpio_ref.h"
#include "MMUCache.h"
#include "Exception.h"
#include "PLL.h"
//#include "uart.h"




#ifdef __cplusplus
extern "C" {
#endif
/////////////////////////////
extern	unsigned int MPLL;
extern	unsigned int ARMCLK, HCLK, PCLK;
extern	unsigned int ARMCLKdiv, HCLKdiv, PCLKdiv;

//---------------------
// 	in system.c
//---------------------
// system clock calc.
void SystemCLK(unsigned int prt_msg); // edit 060624
// traditional delay function
void Delay(int time);
// additional delay function
void SetResTDelay(unsigned int time_res);
void InitTDelayFunc(void); 
void TDelay(unsigned int d_count);
// stopwatch functon
void SetResStopwatch(unsigned int time_res);
void StartStopwatch(void);
unsigned int EndStopwatch(void);
// max1718 voltage control
void Max1718_Init(void);
void Max1718_Set(int pwr, int voltage); // pwr=1:ARM, pwr=0:INT

//---------------------
//	in system_asm.s
//---------------------
void IsrIRQ(void);

#ifdef __cplusplus
}
#endif

#endif /*__SYSTEM_H__*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -