what you give them. Help stamp out software-hoarding!
-------------------------------------------------------------------------*/
+#ifndef REG8052_H
+#define REG8052_H
+
#include <8051.h> /* load difinitions for the 8051 core */
#ifdef REG8051_H
#undef REG8051_H
#endif
-#ifndef REG8052_H
-#define REG8052_H
-
/* define 8052 specific registers only */
/* T2CON */
what you give them. Help stamp out software-hoarding!
-------------------------------------------------------------------------*/
+#ifndef AT89Cx051_H
+#define AT89Cx051_H
+
#include <8051.h> /* load difinitions for the 8051 core */
#ifdef REG8051_H
#undef REG8051_H
#endif
-#ifndef AT89Cx051_H
-#define AT89Cx051_H
-
/* remove non existing registers */
-#ifdef P0 /* P0 is defined in <mcs51/8051.h> */
+#ifdef P0 /* P0 is defined in <8051.h> */
#undef P0 /* AT89Cx051 has no P0 */
#undef P0_0 /* undefine bit addressable registers in P0 */
#undef P0_1
#undef P0_7
#endif
-#ifdef P2 /* P2 is defined in <mcs51/8051.h> */
+#ifdef P2 /* P2 is defined in <8051.h> */
#undef P2 /* AT89Cx051 has no P2 */
#undef P2_0 /* undefine bit addressable registers in P2 */
#undef P2_1