From e3b5fd25cace79385eef68ccc800a82d0358ad31 Mon Sep 17 00:00:00 2001 From: maartenbrock Date: Fri, 29 Jul 2005 19:38:11 +0000 Subject: [PATCH] * device/include/mcs51/msm8xc154s.h: added, thanks to Matthias Arndt git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3815 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 +++ device/include/mcs51/msm8xc154s.h | 46 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 device/include/mcs51/msm8xc154s.h diff --git a/ChangeLog b/ChangeLog index 0264c079..5cb55367 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-07-29 Maarten Brock + + * device/include/mcs51/msm8xc154s.h: added, thanks to Matthias Arndt + 2005-07-28 Maarten Brock * 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 index 00000000..d8623b70 --- /dev/null +++ b/device/include/mcs51/msm8xc154s.h @@ -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 -- 2.47.2