* device/include/mcs51/msm8xc154s.h: added, thanks to Matthias Arndt
authormaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 29 Jul 2005 19:38:11 +0000 (19:38 +0000)
committermaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 29 Jul 2005 19:38:11 +0000 (19:38 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3815 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/include/mcs51/msm8xc154s.h [new file with mode: 0644]

index 0264c0793a30fed7ddfd7d72c804eb22a0632036..5cb55367a635a185d2553b48a16c46d153c2375f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/msm8xc154s.h: added, thanks to Matthias Arndt
+
 2005-07-28 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * src/mcs51/gen.c (operandsEqu): fixed bug 1246687
diff --git a/device/include/mcs51/msm8xc154s.h b/device/include/mcs51/msm8xc154s.h
new file mode 100644 (file)
index 0000000..d8623b7
--- /dev/null
@@ -0,0 +1,46 @@
+/*-------------------------------------------------------------------------
+   Register Declarations for the Oki MSM80C154S and MSM83C154S
+
+   Written By -  Matthias Arndt / marndt@asmsoftware.de (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 MSM8xC154S_H
+#define MSM8xC154S_H
+
+#include <8052.h>     /* load definitions for the 8052 core */
+
+#ifdef REG8052_H
+#undef REG8052_H
+#endif
+
+/* byte SFRs */
+__sfr __at (0xf8)      IOCON;  /* IOCON register */
+
+/* bit locations */
+__sbit __at (0xf8)     ALF;    /* floating status on power down control */
+__sbit __at (0xf9)     P1HZ;   /* P1 high impedance input control */
+__sbit __at (0xfa)     P2HZ;   /* P2 high impedance input control */
+__sbit __at (0xfb)     P3HZ;   /* P3 high impedance input control */
+__sbit __at (0xfc)     IZC;    /* 10kO pull-up resistor control */
+__sbit __at (0xfd)     SERR;   /* Serial port reception flag */
+__sbit __at (0xfe)     T32;    /* interconnect T0 and T1 to 32bit timer/counter */
+
+#endif