X-Git-Url: https://git.llucax.com/z.facultad/66.09/etherled.git/blobdiff_plain/60e7401fd3b9318076d6ab812a9ab74d245d528c..afe814271b1b8c0519595d12d5a9cad8a24a3cc9:/src/reg51sdcc.h diff --git a/src/reg51sdcc.h b/src/reg51sdcc.h index ca1bbaf..29f7d07 100644 --- a/src/reg51sdcc.h +++ b/src/reg51sdcc.h @@ -23,6 +23,12 @@ sfr at 0xA8 IE; sfr at 0xB8 IP; sfr at 0x98 SCON; sfr at 0x99 SBUF; +/* 8052 */ +sfr at 0xC8 T2CON; +sfr at 0xCA RCAP2L; +sfr at 0xCB RCAP2H; +sfr at 0xCC TL2; +sfr at 0xCD TH2; /* BIT Register */ /* PSW */ @@ -44,8 +50,19 @@ sbit at 0x8A IT1; sbit at 0x89 IE0; sbit at 0x88 IT0; +/* T2CON (8052) */ +sbit at 0xCF TF2; +sbit at 0xCE EXF2; +sbit at 0xCD RCLK; +sbit at 0xCC TCLK; +sbit at 0xCB EXEN2; +sbit at 0xCA TR2; +sbit at 0xC9 C_T2; +sbit at 0xC8 CP_RL2C; + /* IE */ sbit at 0xAF EA; +sbit at 0xAD ET2; sbit at 0xAC ES; sbit at 0xAB ET1; sbit at 0xAA EX1;