亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? at89c51ed2.h

?? sdcc是為51等小型嵌入式cpu設計的c語言編譯器支持數種不同類型的cpu
?? H
字號:
/*-------------------------------------------------------------------------   Register Declarations for the Atmel AT89C51RD2/ED2 Processor   Written By -  Jesus Calvino-Fraga / jesusc at ece.ubc.ca (July 2005)   This library is free software; you can redistribute it and/or   modify it under the terms of the GNU Lesser General Public   License as published by the Free Software Foundation; either   version 2.1 of the License, or (at your option) any later version.   This library is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   Lesser General Public License for more details.   You should have received a copy of the GNU Lesser General Public   License along with this library; if not, write to the Free Software   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   In other words, you are welcome to use, share and improve this program.   You are forbidden to forbid anyone else to use, share and improve   what you give them.   Help stamp out software-hoarding!-------------------------------------------------------------------------*/#ifndef REG_AT89C51ED2_H#define REG_AT89C51ED2_H#include <8052.h>     // Load definitions for the 8052#ifdef REG8052_H#undef REG8052_H#endif// Define AT89C51RD2/ED2 specific registers only__sfr __at (0x8E) AUXR;		//Auxiliary function register	#define DPU  0x80		//'1'=Disables weak pull-up	#define M0   0x20		//'1'=Strechs MOVX control signals	#define XRS2 0x10		// XRAM select bit 2	#define XRS1 0x08		// XRAM select bit 1	#define XRS0 0x04		// XRAM select bit 0     	// XRS2 XRS1 XRS2  XRAM Size	    //  0    0    0    256  bytes    	//  0    0    1    512  bytes	    //  0    1    0    768  bytes (default)    	//  0    1    1    1024 bytes    	//  1    0    0    1792 bytes	#define EXTRAM 0x02		//'0'=uses internal XRAM.	#define AO 0x01			//'1'=Disables ALE generation.__sfr __at (0xA2) AUXR1;	//Auxiliary function register 1    #define ENBOOT 0x20     //'0'=Disables boot ROM	#define GF3 0x08		//General purpose user-defined flag.	#define DPS 0x01		//Data pointer select.__sfr __at (0x97) CKRL;     //Clock Reload Register__sfr __at (0x8F) CKCKON0;  //Clock control Register 0    #define WDTX2 0x40      //Watch Dog Clock speed '1'=12 ck/cy, '0'=6 ck/cy    #define PCAX2 0x20      //Programmable Counter Array Clock speed '1'=12 ck/cy, '0'=6 ck/cy    #define SIX2  0x10      //Enhanced UART Clock (Mode 0 and 2) speed '1'=12 ck/cy, '0'=6 ck/cy    #define T2X2  0x08      //Timer2 Clock speed '1'=12 ck/cy, '0'=6 ck/cy    #define T1X2  0x04      //Timer1 Clock speed '1'=12 ck/cy, '0'=6 ck/cy    #define T0X2  0x02      //Timer0 Clock speed '1'=12 ck/cy, '0'=6 ck/cy    #define X2    0x01      //CPU Clock '0'=12 ck/cy, '1'=6 ck/cy__sfr __at (0x8F) CKCKON1;  //Clock control Register 1    #define XPIX2 0x01      //SPI Clock speed '1'=12 ck/cy, '0'=6 ck/cy__sfr __at (0xFA) CCAP0H;	//Module 0 Capture HIGH. __sfr __at (0xFB) CCAP1H;	//Module 1 Capture HIGH. __sfr __at (0xFC) CCAP2H;	//Module 2 Capture HIGH. __sfr __at (0xFD) CCAP3H;	//Module 3 Capture HIGH. __sfr __at (0xFE) CCAP4H;	//Module 4 Capture HIGH. __sfr __at (0xEA) CCAP0L;	//Module 0 Capture LOW. __sfr __at (0xEB) CCAP1L;	//Module 1 Capture LOW. __sfr __at (0xEC) CCAP2L;	//Module 2 Capture LOW. __sfr __at (0xED) CCAP3L;	//Module 3 Capture LOW. __sfr __at (0xEE) CCAP4L;	//Module 4 Capture LOW. __sfr __at (0xDA) CCAPM0;	//Module 0 Mode.  __sfr __at (0xDB) CCAPM1;	//Module 1 Mode.  __sfr __at (0xDC) CCAPM2;	//Module 2 Mode.  __sfr __at (0xDD) CCAPM3;	//Module 3 Mode.  __sfr __at (0xDE) CCAPM4;	//Module 4 Mode.//The preceding five registers have the following bits:  	#define ECOM 0x40		//Enable Comparator.	#define CAPP 0x20		//1=enables positive edge capture.	#define CAPN 0x10		//1=enables negative edge capture.	#define MAT  0x08		//When counter matches sets CCF_n bit causing and interrupt.	#define TOG  0x04		//Toggle output on match.	#define PWM  0x02		//Pulse width modulation mode.	#define ECCF 0x01		//Enable CCF interrupt.__sfr __at (0xD8) CCON;	//PCA Counter Control	__sbit __at (0xDF) CF;	//PCA Counter overflow flag.	__sbit __at (0xDE) CR ; //PCA Counter Run Control Bit. 1=counter on.  0=counter off.	__sbit __at (0xDC) CCF4;//PCA Module 4 Interrupt Flag.	__sbit __at (0xDB) CCF3;//PCA Module 3 Interrupt Flag.	__sbit __at (0xDA) CCF2;//PCA Module 2 Interrupt Flag.	__sbit __at (0xD9) CCF1;//PCA Module 1 Interrupt Flag.	__sbit __at (0xD8) CCF0;//PCA Module 0 Interrupt Flag.__sfr __at (0xF9) CH;		//PCA Counter HIGH. __sfr __at (0xE9) CL;		//PCA Counter LOW. __sfr __at (0xD9) CMOD;		//PCA Counter Mode.  	#define CIDL 0x80		//CIDL=0 program the PCA counter to work during idle mode.	#define WDTE 0x40		//Watchdog Timer Enable.	#define CPS1 0x04		//PCA Count Pulse Select bit 1.	#define CPS0 0x02		//PCA Count Pulse Select bit 0.							//00=Internal clock, Fosc/6							//01=Internal clock, Fosc/6							//10=Timer 0 overflow							//11=External clock at ECI/P1.2 pin (max rate=Fosc/4)	#define ECF 0x01		//PCA Enable Counter Overflow Interrupt.//Attention IEN0 is the same as register IE found in <8051.h> only bit EC added here.__sfr __at (0xA8) IEN0;		//Interrupt Enable 1.	__sbit __at (0xAE) EC;	//PCA Interrupt Enable bit.__sfr __at (0xB1) IEN1;		//Interrupt Enable 1	#define ESPI 0x04		//SPA Interrupt Enable bit.	#define KBD  0x01		//Keyboard Interrupt Enable bit.//Attention IPL0 is the same as register IP found in <8051.h>__sfr __at (0xB8) IPL0;	    //Interrupt Priority 0 LOW	__sbit __at (0xBE) PPCL;//PCA Interrupt Priority low bit.	__sbit __at (0xBD) PT2L;//Timer 2 Interrupt Priority Low Bit.	__sbit __at (0xBC) PLS; //Serial Port Interrupt Priority Low Bit.	__sbit __at (0xBB) PT1L;//Timer 1 Interrupt Priority Low Bit.	__sbit __at (0xBA) PX1L;//External Interrupt 1 Priority Low Bit.	__sbit __at (0xB9) PT0L;//Timer 0 Interrupt Priority Low Bit.	__sbit __at (0xB8) PX0L;//External Interrupt 0 Priority Low Bit.__sfr __at (0xB7) IPH0;		//Interrupt Priority 0 HIGH  	#define PPCH 0x40		//PCA Interrupt Priority High Bit.	#define PT2H 0x20		//Timer 2 Interrupt Priority High Bit.	#define PHS  0x10		//Serial Port Interrupt Priority High Bit.	#define PT1H 0x08		//Timer 1 Interrupt Priority High Bit.	#define PX1H 0x04		//External Interrupt 1 Priority High Bit.	#define PT0H 0x02		//Timer 0 Interrupt Priority High Bit.	#define PX0H 0x01		//External Interrupt 0 Priority High Bit.__sfr __at (0xB2) IPL1;		//Interrupt Priority 1 LOW.    #define SPIL 0x04       //SPI Priority Low Bit    #define KBDL 0x01       //Keyboard Priority Low Bit__sfr __at (0xB3) IPH1;		//Interrupt Priority 1 HIGH.      #define SPIH 0x04       //SPI Priority High Bit    #define KBDH 0x01       //Keyboard Priority High Bit__sfr __at (0xC0) P4;       //8-bit port 4    __sbit __at (0xC0) P4_0 ;    __sbit __at (0xC1) P4_1 ;    __sbit __at (0xC2) P4_2 ;    __sbit __at (0xC3) P4_3 ;    __sbit __at (0xC4) P4_4 ;    __sbit __at (0xC5) P4_5 ;    __sbit __at (0xC6) P4_6 ;    __sbit __at (0xC7) P4_7 ;__sfr __at (0xD8) P5;       //8-bit port 5    __sbit __at (0xD8) P5_0 ;    __sbit __at (0xD9) P5_1 ;    __sbit __at (0xDA) P5_2 ;    __sbit __at (0xDB) P5_3 ;    __sbit __at (0xDC) P5_4 ;    __sbit __at (0xDD) P5_5 ;    __sbit __at (0xDE) P5_6 ;    __sbit __at (0xDF) P5_7 ;__sfr __at (0xA6) WDTRST;   //WatchDog Timer Reset__sfr __at (0xA7) WDTPRG;   //WatchDog Timer Program	#define WTO2 0x04		//WDT Time-out select bit 2	#define WTO1 0x02		//WDT Time-out select bit 1	#define WTO0 0x01		//WDT Time-out select bit 0	//This names appear also in the datasheet:	#define S2 0x04 		//WDT Time-out select bit 2	#define S1 0x02 		//WDT Time-out select bit 1	#define S0 0x01 		//WDT Time-out select bit 0	//S2 S1 S0 Selected Time-out	//0  0  0  (2^14 - 1) machine cycles, 16.3 ms @ FOSCA=12 MHz	//0  0  1  (2^15 - 1) machine cycles, 32.7 ms @ FOSCA=12 MHz	//0  1  0  (2^16 - 1) machine cycles, 65.5 ms @ FOSCA=12 MHz	//0  1  1  (2^17 - 1) machine cycles, 131  ms @ FOSCA=12 MHz	//1  0  0  (2^18 - 1) machine cycles, 262  ms @ FOSCA=12 MHz	//1  0  1  (2^19 - 1) machine cycles, 542  ms @ FOSCA=12 MHz	//1  1  0  (2^20 - 1) machine cycles, 1.05  s @ FOSCA=12 MHz	//1  1  1  (2^21 - 1) machine cycles, 2.09  s @ FOSCA=12 MHz__sfr __at (0xA9) SADDR;	//Serial Port Address Register. __sfr __at (0xB9) SADEN;	//Serial Port Address Enable. __sfr __at (0xC3) SPCON;	//SPI Control Register	#define SPR2  0x80		//SPI Clork Rate select bit 2.	#define SPEN  0x40      //SPI enable bit.  When set enables SPI.	#define SSDIS 0x20		//Cleared to enable SS in both Master and Slave modes.	#define MSTR  0x10		//1=master mode.  0=slave mode.	#define CPOL  0x08		//1=SCK is high when idle (active low), 0=SCK is low when idle (active high).	#define CPHA  0x04		//1=shift triggered on the trailing edge of SCK.  0=shift trig. on leading edge.	#define SPR1  0x02		//SPI Clork Rate select bit 1.	#define SPR0  0x01		//SPI Clork Rate select bit 0.		//SPR2 SPR1 SPR0  Baud Rate Divisor		//  0    0    0   2		//  0    0    1   4		//  0    1    0   8		//  0    1    1   16		//  1    0    0   32		//  1    0    1   64		//  1    1    0   128		//  1    1    1   Invalid: Don't Use	__sfr __at (0xC4) SPSTA;	//Serial Peripheral Status register	#define SPIF  0x80		//Serial Peripheral Data Transfer Flag	#define WCOL  0x40		//Write collision Flag.	#define SSERR 0x20      //Synchronous Serial Slave Error Flag	#define MODF  0x10      //Mode Fault Flag__sfr __at (0xC5) SPDAT;	//SPI Data__sfr __at (0xC9) T2MOD;	//Timer 2 mode control	#define T2OE  0x02		//Timer 2 Output Enable bit.	#define DCEN  0x01		//Down count enable__sfr __at (0x9B) BDRCON;	//Baud Rate Control	#define BRR   0x10		//Baud Rate Run Control bit. '1'=enable	#define TBCK  0x08		//Transmission Baud rate Generator Selection bit for UART	#define RBCK  0x03		//Reception Baud Rate Generator Selection bit for UART	#define SPD   0x02		//Baud Rate Speed Control bit for UART	#define SRC   0x01		//Baud Rate Source select bit in Mode 0 for UART__sfr __at (0x9A) BRL;      //Baud Rate Reload__sfr __at (0x9C) KBLS;     //Keyboard level Selector__sfr __at (0x9D) KBE;      //Keyboard Input Enable__sfr __at (0x9E) KBF;      //Keyboard Flag Register__sfr __at (0xD2) EECON;    //EEPROM Data Control	#define EEE    0x02		//EEPROM Enable. '1'=use EEPROM, '0'=use XRAM	#define EEBUSY 0x01		//EEPROM Busy. '1'=EEPROM is busy programming#endif /*REG_AT89C51ED2_H*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国女主播成人在线| 欧美日韩一区二区在线观看| 91麻豆123| 日韩欧美黄色影院| 亚洲综合在线视频| 成人一道本在线| 欧美电视剧免费全集观看| 亚洲观看高清完整版在线观看 | 日韩美女一区二区三区| 1区2区3区国产精品| 久久成人av少妇免费| 欧美日韩精品一区二区在线播放| 国产精品欧美一级免费| 国产一区在线视频| 日韩欧美国产一区在线观看| 午夜天堂影视香蕉久久| 色999日韩国产欧美一区二区| 中文字幕成人网| 国产一区二区毛片| 精品少妇一区二区三区日产乱码| 亚洲电影第三页| 欧美在线观看视频在线| 亚洲视频网在线直播| 99国产一区二区三精品乱码| 中文子幕无线码一区tr| 国产激情一区二区三区| 精品国产乱子伦一区| 国产一区二区在线免费观看| 日韩一区二区在线看片| 亚洲欧美日韩小说| 成av人片一区二区| 成人欧美一区二区三区视频网页| 国产成人免费视频网站 | 亚洲第一综合色| 欧洲在线/亚洲| 香蕉成人啪国产精品视频综合网| 欧美综合色免费| 亚洲电影在线免费观看| 欧美日韩一区二区欧美激情| 亚洲国产日韩一级| 欧美一区二区在线视频| 蜜臀av一级做a爰片久久| 欧美成人女星排名| 韩国欧美国产1区| 亚洲国产一区视频| 欧美三电影在线| 蜜桃精品视频在线| 久久久久国产精品厨房| 成人一区二区三区视频在线观看| 国产精品久久久久精k8| 日本高清免费不卡视频| 亚洲成av人片| 久久奇米777| 99精品在线免费| 亚洲成a人片在线观看中文| 3atv在线一区二区三区| 国产成人综合自拍| 亚洲精品成人在线| 欧美一区二区精品久久911| 九九九精品视频| 中文成人av在线| 欧美日韩一区三区四区| 国产在线视视频有精品| 亚洲女同一区二区| 精品国产91乱码一区二区三区| 东方aⅴ免费观看久久av| 亚洲一区在线免费观看| 日韩美一区二区三区| 91色porny在线视频| 美国毛片一区二区| 亚洲日本欧美天堂| 精品久久久久香蕉网| 91丝袜美女网| 国产黑丝在线一区二区三区| 一区二区三区国产| 国产欧美一区二区精品仙草咪| 欧美亚洲国产一区二区三区va| 韩国一区二区三区| 日韩专区在线视频| 一区二区三区在线视频观看58| 久久久久久免费毛片精品| 欧美日韩视频不卡| 91老师片黄在线观看| 久久aⅴ国产欧美74aaa| 午夜不卡在线视频| 亚洲免费视频成人| 国产欧美精品一区| 欧美视频一区在线观看| 成人午夜大片免费观看| 久久99精品视频| 免费看欧美美女黄的网站| 亚洲女人****多毛耸耸8| 日韩欧美区一区二| 欧美三级欧美一级| 日本韩国欧美三级| 99久久精品国产网站| 国产69精品一区二区亚洲孕妇| 青青草国产成人av片免费| 亚洲福利视频三区| 一区二区三区欧美| 中文字幕亚洲不卡| 国产日本欧美一区二区| www久久久久| 精品88久久久久88久久久| 日韩三级视频在线看| 7777精品久久久大香线蕉| 欧美日韩精品一区二区在线播放| 在线观看日产精品| 欧美系列亚洲系列| 欧美日韩专区在线| 欧美女孩性生活视频| 欧美日韩成人高清| 在线电影国产精品| 91精品啪在线观看国产60岁| 8v天堂国产在线一区二区| 制服丝袜在线91| 欧美成人a在线| 久久日韩粉嫩一区二区三区| 精品第一国产综合精品aⅴ| 欧美va亚洲va| 久久久久久免费网| 亚洲欧美中日韩| 亚洲制服丝袜在线| 午夜激情一区二区三区| 视频一区国产视频| 美女一区二区久久| 久久99精品久久久久久国产越南| 国产一区二区三区免费在线观看| 国产精品综合一区二区三区| 国产精品自拍一区| www.性欧美| 欧美日韩mp4| 精品国产一区二区三区av性色| 久久久久久免费毛片精品| 亚洲国产精品激情在线观看| 亚洲日本一区二区三区| 午夜免费欧美电影| 国产一区二区视频在线| 91亚洲精品久久久蜜桃网站| 欧美综合欧美视频| 日韩欧美一二三四区| 国产精品久久久久婷婷二区次| 亚洲激情网站免费观看| 久久国产精品99精品国产| a级精品国产片在线观看| 欧美日韩国产高清一区二区| 精品国产91洋老外米糕| 亚洲婷婷在线视频| 理论电影国产精品| 91香蕉视频污| 亚洲精品一区在线观看| 亚洲美女在线国产| 久久99精品久久久| 91成人免费在线视频| 久久久久久久av麻豆果冻| 一级女性全黄久久生活片免费| 国产在线国偷精品免费看| 色老头久久综合| 欧美国产成人精品| 日本系列欧美系列| 色欧美日韩亚洲| 国产拍欧美日韩视频二区| 日韩av在线发布| 色菇凉天天综合网| 中文字幕高清一区| 久久不见久久见免费视频7| 欧美影院一区二区| 国产精品午夜免费| 久久99精品久久久久久动态图| 在线观看免费视频综合| 国产精品视频麻豆| 另类专区欧美蜜桃臀第一页| 91国偷自产一区二区开放时间| 久久精品人人做人人综合| 午夜免费久久看| 欧美三级中文字幕在线观看| 国产精品久久久爽爽爽麻豆色哟哟| 激情欧美一区二区| 日韩欧美在线1卡| 午夜电影久久久| 欧美日韩免费观看一区二区三区| 亚洲欧洲www| 成人国产免费视频| 久久久久成人黄色影片| 免播放器亚洲一区| 欧美福利视频一区| 性做久久久久久免费观看| 色综合中文字幕| 国产精品午夜免费| 国产aⅴ精品一区二区三区色成熟| 精品国产乱码久久久久久牛牛| 欧美aaa在线| 日韩欧美一区二区久久婷婷| 五月激情综合色| 欧美日韩成人综合天天影院| 亚洲成人第一页| 欧美剧在线免费观看网站 | 亚洲欧美精品午睡沙发| 成人午夜激情片| 亚洲日本va午夜在线电影|