update 80C517 s0con
authorkbongers <kbongers@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 10 Jul 2001 20:44:09 +0000 (20:44 +0000)
committerkbongers <kbongers@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 10 Jul 2001 20:44:09 +0000 (20:44 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1050 4a8a32a2-be11-0410-ad9d-d568d2c75423

device/include/mcs51reg.h

index 438f6694d8077122e3f9b851ff340e41b1ee26c9..313e3660c22535f48042a40625473d5eed97fa7c 100644 (file)
@@ -2977,6 +2977,22 @@ sfr at 0x98 S0CON ; // serial channel 0 control register P80C552 specific
 //sbit at 0x9F SM0  ;
 #endif
  
+#ifdef S0CON__SM0__SM1__SM20__REN0__TB80__RB80__TI0__RI0
+#undef S0CON__SM0__SM1__SM20__REN0__TB80__RB80__TI0__RI0
+// serial channel 0 buffer register SAB80517 specific(same as stock SCON)
+sfr at 0x98 S0CON ;
+sbit at 0x98 RI0  ;
+sbit at 0x99 TI0  ;
+sbit at 0x9A RB80 ;
+sbit at 0x9B TB80  ;
+sbit at 0x9C REN0  ;
+sbit at 0x9D SM20  ;
+sbit at 0x9E SM1  ;
+sbit at 0x9F SM0  ;
+
+#endif
+
+
 #ifdef S0RELL
 #undef S0RELL
 sfr at 0xAA S0RELL ; // serial channel 0 reload register low byte SAB80517 specific
@@ -3582,4 +3598,4 @@ sfr at 0x91 XPAGE     ; // Page Address Register for Extended On-Chip Ram - Infi
 #define COMPARE_VECTOR 19       // 0x9B compare
 #endif
 
-#endif // End of the header -> #ifndef MCS51REG_H
\ No newline at end of file
+#endif // End of the header -> #ifndef MCS51REG_H