/************************************************************************************ FILENAME: SEED-DEC2407.h ****************…
volatile 源代码
volatile是一个特征修饰符(typespecifier).volatile的作用是作为指令关键字,确保本条指令不会因编译器的优化而省略,且要求每次直接读值。
#ifndef _UPSD_XREG_ #define _UPSD_XREG_ // Modified by William Chin for uPSD3234 from ST Microelectronics // on June 14, 2002…
#include #include "common.h" #define TCTL2 0x10004000 #define TPRER2 0x10004004 #define TCMP2 0x10004008 #define TCR2 …
/************************************************************************************ FILENAME: SEED-DEC2407.h ****************…
#include "inc/macro.h" //#define LCDDisplayPin 0x0010 //GPB4 #define LCDWIDTH 640 #define LCDHEIGHT 480 //U32* pLCDBuffe…
/*定义SJA1000的基地址*/ volatile char *BASEADD; //volatile char *BASEADD1; volatile char *fft_can0=(volatile char*)(0x50800000);…
/*C语言函数 */ /*端口F寄存器预定义*/ #define rGPFCON (*(volatile unsigned *)0x56000050) #define rGPFDAT (*(volatile unsigned *)0x5600005…
/* * nu_sfrs.h * Generated with gen-sfrs.pl 1.9 */ #ifndef _nu_sfrs_h #define _nu_sfrs_h /* …
/* * bh_sfrs.h * Generated with gen-sfrs.pl 1.9 */ #ifndef _bh_sfrs_h #define _bh_sfrs_h /* …
/* * kb_sfrs.h * Generated with gen-sfrs.pl 1.9 */ #ifndef _kb_sfrs_h #define _kb_sfrs_h /* …