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

📄 sysdefs.h

📁 FAT16 Filesystem on Philips LPC2000 series processors
💻 H
字号:
#ifndef _INC_SYSDEFS_H#define _INC_SYSDEFS_H#include <config.h>#include <stdc.h>#include <time.h>#include <devices.h>#define LINK_BAUD           (115200)	// these keep track of what VIC Vectors are to what.#define ADC0VectCntl			VICVectCntl0#define ADC0VectAddr			VICVectAddr0#define Uart0VectCntl		VICVectCntl1#define Uart0VectAddr		VICVectAddr1#define Uart1VectCntl		VICVectCntl2#define Uart1VectAddr		VICVectAddr2#define Timer0VectCntl		VICVectCntl3#define Timer0VectAddr		VICVectAddr3#define	DEVICE_MMC		1#define	MaxDeviceDescriptors	2		// this is always max device type + 1extern const DEVICE_TABLE_ARRAY device_table_list [MaxDeviceDescriptors];typedef enum {TimerInMilli, TimerInSeconds} timertype;struct	TIMER	{		time_t	SetTime;		/* when it was set. */		time_t	HowLong;		/* how long it is to run. */		timertype		Type;			/* TimerIn10ms or TimerInSeconds. */	};void readRTC (struct tm *nowtime);void writeRTC (struct tm *newTime);void setElapsed (int HowLong, struct TIMER * timer, timertype TimerType);bool timeElapsed (struct TIMER * timer);void systemInit(void);void setupFACP (void);void scanFACP (void);void ServiceBlinker (void);void facpCallBack (void);#endif	// _INC_SYSDEFS_H

⌨️ 快捷键说明

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