From 4be2c0c9ddb3a8e11c35254c3a6751ce895c0a56 Mon Sep 17 00:00:00 2001 From: jesusc Date: Fri, 8 Jul 2005 16:34:33 +0000 Subject: [PATCH] Added missing T2MOD sfr git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3798 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/include/mcs51/p89v51rd2.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/device/include/mcs51/p89v51rd2.h b/device/include/mcs51/p89v51rd2.h index 5bc9e303..c8037135 100644 --- a/device/include/mcs51/p89v51rd2.h +++ b/device/include/mcs51/p89v51rd2.h @@ -159,4 +159,9 @@ __sfr __at (0xC0) WDTC; //Watchdog Timer Control (Reset value 0x00). __sfr __at (0x85) WDTD; //Watchdog Timer Data/Reload. +__sfr __at (0xC9) T2MOD; //Timer 2 mode control + #define DCEN 0x01 //Down count enable bit + #define T2OE 0x02 //Timer 2 Output Enable bit. + #define ENT2 0x20 //No description??? + #endif /*REG_P89V51RD2_H*/ -- 2.47.2