X-Git-Url: https://git.llucax.com/z.facultad/66.09/etherled.git/blobdiff_plain/60e7401fd3b9318076d6ab812a9ab74d245d528c..0052faf6d85ec776823a1a33efc8d911b4b4e2f6:/src/reg51keil.h diff --git a/src/reg51keil.h b/src/reg51keil.h index ed182bf..a40d8ab 100644 --- a/src/reg51keil.h +++ b/src/reg51keil.h @@ -23,6 +23,12 @@ sfr IE = 0xA8; sfr IP = 0xB8; sfr SCON = 0x98; sfr SBUF = 0x99; +/* 8052 */ +sfr T2CON = 0xC8; +sfr RCAP2L = 0xCA; +sfr RCAP2H = 0xCB; +sfr TL2 = 0xCC; +sfr TH2 = 0xCD; /* BIT Register */ /* PSW */ @@ -44,6 +50,16 @@ sbit IT1 = 0x8A; sbit IE0 = 0x89; sbit IT0 = 0x88; +/* T2CON (8052) */ +sbit TF2 = 0xCF; +sbit EXF2 = 0xCE; +sbit RCLK = 0xCD; +sbit TCLK = 0xCC; +sbit EXEN2 = 0xCB; +sbit TR2 = 0xCA; +sbit C_T2 = 0xC9; +sbit CP_RL2C = 0xC8; + /* IE */ sbit EA = 0xAF; sbit ES = 0xAC;