P89C51RB2/P89C51RC2/P89C51RD2 80C51 8-bit Flash ...
P89C51RB2/P89C51RC2/P89C51RD2 80C51 8-bit Flash ...
P89C51RB2/P89C51RC2/P89C51RD2 80C51 8-bit Flash ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Philips Semiconductors<strong>80C51</strong> 8-<strong>bit</strong> <strong>Flash</strong> microcontroller family16KB/32KB/64KB ISP/IAP <strong>Flash</strong> with 512B/512B/1KB RAMPreliminary specification<strong>P89C51RB2</strong>/<strong>P89C51RC2</strong>/<strong>P89C51RD2</strong>Table 3. Timer 2 Operating ModesRCLK + TCLK CP/RL2 TR2 MODE0 0 1 16-<strong>bit</strong> Auto-reload0 1 1 16-<strong>bit</strong> Capture1 X 1 Baud rate generatorX X 0 (off)OSC ÷ n*C/T2 = 0TL2(8-<strong>bit</strong>s)TH2(8-<strong>bit</strong>s)TF2T2 PinC/T2 = 1ControlTransitionDetectorTR2CaptureTimer 2InterruptRCAP2LRCAP2HT2EX PinEXF2ControlEXEN2SU01252* n = 6 in 6 clock mode, or 12 in 12 clock mode.Figure 2. Timer 2 in Capture ModeT2MOD Address = 0C9H Reset Value = XXXX XX00BNot Bit Addressable— — — — — — T2OE DCENSymbolBitFunction7 6 5 4 3 2 1 0— Not implemented, reserved for future use.*T2OE Timer 2 Output Enable <strong>bit</strong>.DCEN Down Count Enable <strong>bit</strong>. When set, this allows Timer 2 to be configured as an up/down counter.* User software should not write 1s to reserved <strong>bit</strong>s. These <strong>bit</strong>s may be used in future 8051 family products to invoke new features.In that case, the reset or inactive value of the new <strong>bit</strong> will be 0, and its active value will be 1. The value read from a reserved <strong>bit</strong> isindeterminate.SU00729Figure 3. Timer 2 Mode (T2MOD) Control Register1999 Nov 22 12