| Electronic Components Datasheet Search |
|
P89V51RB2BBC Datasheet(PDF) 32 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89V51RB2BBC Datasheet(HTML) 32 Page - NXP Semiconductors |
|
32 / 80 page ![]() P89V51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved. Product data sheet Rev. 05 — 12 November 2009 32 of 80 NXP Semiconductors P89V51RB2/RC2/RD2 8-bit microcontrollers with 80C51 core 6.5.1 Capture mode In the Capture mode there are two options which are selected by bit EXEN2 in T2CON. If EXEN2 = 0 Timer 2 is a 16-bit timer or counter (as selected by C/T2 in T2CON) which upon overflowing sets bit TF2, the Timer 2 overflow bit. The capture mode is illustrated in Figure 12. 4 TCLK Transmit clock flag. When set, causes the UART to use Timer 2 overflow pulses for its transmit clock in modes 1 and 3. TCLK = 0 causes Timer 1 overflows to be used for the transmit clock. 3 EXEN2 Timer 2 external enable flag. When set, allows a capture or reload to occur as a result of a negative transition on T2EX if Timer 2 is not being used to clock the serial port. EXEN2 = 0 causes Timer 2 to ignore events at T2EX. 2 TR2 Start/stop control for Timer 2. A logic ‘1’ enables the timer to run. 1C/T2 Timer or counter select. (Timer 2) 0 = internal timer (fosc / 6) 1 = external event counter (falling edge triggered; external clock’s maximum rate = fosc / 12 0 CP/RL2 Capture/Reload flag. When set, captures will occur on negative transitions at T2EX if EXEN2 = 1. When cleared, auto-reloads will occur either with Timer 2 overflows or negative transitions at T2EX when EXEN2 = 1. When either RCLK = 1 or TCLK = 1, this bit is ignored and the timer is forced to auto-reload on Timer 2 overflow. Table 22. T2MOD - Timer 2 mode control register (address C9H) bit allocation Not bit addressable; Reset value: XX00 0000B Bit 7 6 5 4 3 2 1 0 Symbol - - - - - - T2OE DCEN Table 23. T2MOD - Timer 2 mode control register (address C9H) bit description Bit Symbol Description 7 to 2 - Reserved for future use. Should be set to ‘0’ by user programs. 1 T2OE Timer 2 Output Enable bit. Used in programmable clock-out mode only. 0 DCEN Down Count Enable bit. When set, this allows Timer 2 to be configured as an up/down counter. Table 21. T2CON - Timer/counter 2 control register (address C8H) bit description …continued Bit Symbol Description |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |