2410lib.h
上传用户:yzchenlin
上传日期:2022-03-09
资源大小:712k
文件大小:1k
- //===================================================================
- // File Name : 2410lib.h
- // Function : S3C2410
- // Program : Shin, On Pil (SOP)
- // Date : May 14, 2002
- // Version : 0.0
- // History
- // 0.0 : Programming start (February 20,2002) -> SOP
- // Mar.29.2002:purnnamu: For POWEROFF_wake_up, the START... label is added
- //===================================================================
- #ifndef __2410lib_h__
- #define __2410lib_h__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define min(x1,x2) (((x1)<(x2))? (x1):(x2))
- #define max(x1,x2) (((x1)>(x2))? (x1):(x2))
- #define NULL 0
- void Delay(int time);
- void Port_Init(void);
- void Led_Display(int data);
- void ChangeMPllValue(int m,int p,int s);
- void ChangeClockDivider(int hdivn,int pdivn);
- void ChangeUPllValue(int m,int p,int s);
- #ifdef __cplusplus
- }
- #endif
- #endif //__2410lib_h__