| Electronic Components Datasheet Search |
|
P89CV51RB2FBC Datasheet(PDF) 25 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89CV51RB2FBC Datasheet(HTML) 25 Page - NXP Semiconductors |
|
25 / 73 page ![]() P89CV51RB2_RC2_RD2_1 © NXP B.V. 2007. All rights reserved. Product data sheet Rev. 01 — 5 October 2007 25 of 73 NXP Semiconductors P89CV51RB2/RC2/RD2 80C51 with 1 kB RAM, SPI The ‘Timer’ or ‘Counter’ function is selected by control bits C/T in the special function register TMOD. These two timers/counters have four operating modes, which are selected by bit-pairs (M1, M0) in TMOD. Modes 0, 1, and 2 are the same for both timers/counters. Mode 3 is different. The four operating modes are described in the following text. Table 13. TMOD - Timer/Counter mode control register (address 89H) bit allocation Not bit addressable; reset value: 0000 0000B; reset source(s): any source. Bit 7 6 5 4 3 2 1 0 Symbol T1GATE T1C/T T1M1 T1M0 T0GATE T0C/T T0M1 T0M0 Table 14. TMOD - Timer/Counter mode control register (address 89H) bit description Bit Symbol Description 7 T1GATE Gating control for Timer 1. When set, timer/counter is enabled only while the INT1 pin is HIGH and the TR1 control bit is set. When cleared, Timer 1 is enabled when the TR1 control bit is set. 6 T1C/T Timer or counter select for Timer 1. Cleared for timer operation. Set for counter operation (input from T1 input pin). 5 T1M1 Mode select for Timer 1. 4 T1M0 3 T0GATE Gating control for Timer 0. When set, timer/counter is enabled only while the INT0 pin is HIGH and the TR0 control bit is set. When cleared, Timer 0 is enabled when the TR0 control bit is set. 2 T0C/T Timer or counter select for Timer 0. Cleared for timer operation. Set for counter operation (input from T0 input pin). 1 T0M1 Mode select for Timer 0. 0 T0M0 Table 15. TMOD - Timer/Counter mode control register (address 89H) M1/M0 operating mode M1 M0 Operating mode 0 0 0 8048 timer ‘TLx’ serves as 5-bit prescaler. 0 1 1 16-bit timer/counter ‘THx’ and ‘TLx' are cascaded; there is no prescaler. 1 0 2 8-bit auto-reload timer/counter ‘THx’ holds a value which is to be reloaded into ‘TLx’ each time it overflows. 1 1 3 (Timer 0) TL0 is an 8-bit timer/counter controlled by the standard Timer 0 control bits. TH0 is an 8-bit timer only controlled by Timer 1 control bits. 1 1 3 (Timer 1) timer/counter 1 stopped. Table 16. TCON - Timer/Counter control register (address 88H) bit allocation Bit addressable; reset value: 0000 0000B; reset source(s): any reset. Bit 7 6 5 4 3 2 1 0 Symbol TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 |
|
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 |