參數(shù)資料
型號(hào): P89LV51RC2
廠商: NXP Semiconductors N.V.
元件分類: 8位微控制器
英文描述: 8-bit 80C51 3 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
中文描述: 8位80C51的3 V低功耗16/32/64 kB閃存1 KB RAM內(nèi)存控制器
文件頁數(shù): 33/77頁
文件大?。?/td> 349K
代理商: P89LV51RC2
Philips Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
Product data
Rev. 04 — 02 December 2004
33 of 77
9397 750 14342
Koninklijke Philips Electronics N.V. 2004. All rights reserved.
The capture mode is illustrated in
Figure 12
.
This bit can be used to generate an interrupt (by enabling the Timer 2 interrupt bit in
the IEN0 register). If EXEN2 = 1, Timer 2 operates as described above, but with the
added feature that a 1- to -0 transition at external input T2EX causes the current
value in the Timer 2 registers, TL2 and TH2, to be captured into registers RCAP2L
and RCAP2H, respectively.
In addition, the transition at T2EX causes bit EXF2 in T2CON to be set, and EXF2 like
TF2 can generate an interrupt (which vectors to the same location as Timer 2
overflow interrupt). The Timer 2 interrupt service routine can interrogate TF2 and
EXF2 to determine which event caused the interrupt.
There is no reload value for TL2 and TH2 in this mode. Even when a capture event
occurs from T2EX, the counter keeps on counting T2 pin transitions or f
osc
/6 pulses.
Since once loaded contents of RCAP2L and RCAP2H registers are not protected,
once Timer2 interrupt is signalled it has to be serviced before new capture event on
T2EX pin occurs. Otherwise, the next falling edge on T2EX pin will initiate reload of
the current value from TL2 and TH2 to RCAP2L and RCAP2H and consequently
corrupt their content related to previously reported interrupt.
7.4.2
Auto-reload mode (up or down counter)
In the 16-bit auto-reload mode, Timer 2 can be configured as either a timer or counter
(via C/T2 in T2CON), then programmed to count up or down. The counting direction
is determined by bit DCEN (Down Counter Enable) which is located in the T2MOD
register (see
Table 22
and
Table 23
). When reset is applied, DCEN = 0 and Timer 2
will default to counting up. If the DCEN bit is set, Timer 2 can count up or down
depending on the value of the T2EX pin.
Figure 13
shows Timer 2 counting up automatically (DCEN = 0).
Fig 12. Timer 2 in Capture Mode.
002aaa523
OSC
6
T2 pin
C/T2 = 0
C/T2 = 1
TL2
(8-bits)
TH2
(8-bits)
TF2
control
capture
TR2
Timer 2
interrupt
EXF2
RCAP2L RCAP2H
control
EXEN2
transition
detector
T2EX pin
相關(guān)PDF資料
PDF描述
P89LV51RC2BN 8-bit 80C51 3 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
P89LV51RC2FA 8-bit 80C51 3 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
P89V51RB2 8-bit 80C51 5 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
P89V51RB2BA 8-bit 80C51 5 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
P89V51RB2BBC 8-bit 80C51 5 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
P89LV51RC2BN 功能描述:8位微控制器 -MCU 3V 16K/512 FL 12 CLK ISP/IAP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
P89LV51RC2BN,112 功能描述:8位微控制器 -MCU P89LV51RC2BN/DIP40/TUBE-BULK// RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
P89LV51RC2FA 功能描述:8位微控制器 -MCU 3V 16K/512 FL 12 CLK ISP/IAP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
P89LV51RC2FA,512 功能描述:8位微控制器 -MCU 3V 16K/512 FL 12 RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
P89LV51RC2FBC 功能描述:8位微控制器 -MCU 3V 16K/512 FL 12 CLK ISP/IAP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT