參數(shù)資料
型號: W77LE58F-25
廠商: WINBOND ELECTRONICS CORP
元件分類: 微控制器/微處理器
英文描述: 8 BIT MICROCONTROLLER
中文描述: 8-BIT, FLASH, 25 MHz, MICROCONTROLLER, PQFP44
封裝: QFP-44
文件頁數(shù): 56/81頁
文件大?。?/td> 657K
代理商: W77LE58F-25
Preliminary W77LE58
- 56 -
Auto-reload Mode, Counting Up
The auto-reload mode as an up counter is enabled by clearing the CP RL
register. RCLK and TCLK bits must be cleared and clearing the DCEN bit in T2MOD register. In this
mode, Timer/Counter 2 is a 16 bit up counter. When the counter rolls over from FFFFh, a reload is
generated that causes the contents of the RCAP2L and RCAP2H registers to be reloaded into the TL2
and TH2 registers. The reload action also sets the TF2 bit. If the EXEN2 bit is set, then a negative
transition of T2EX pin will also cause a reload. This action also sets the EXF2 bit in T2CON.
/
2 bit in the T2CON
1/4
1/12
T2M = CKCON.5
1
C/T2 = T2CON.1
0
T2CON.7
T2 = P1.0
T2CON.6
TR2 =
T2CON.2
T2EX = P1.1
EXEN2 = T2CON.3
EXF2
Timer 2
Interrupt
TF2
TH2
TL2
RCAP2H
RCAP2L
0
1
Clock Source
Mode input
div. by 4 osc/1
div. by 64 osc/16
div. by 1024 osc/256
DCEN = 0
Figure 15. 16-Bit Auto-reload Mode, Counting Up
Auto-reload Mode, Counting Up/Down
Timer/Counter 2 will be in auto-reload mode as an up/down counter if CP RL
cleared. RCLK and TCLK bits must be cleared and the DCEN bit in T2MOD is set. In this mode,
Timer/Counter 2 is an up/down counter whose direction is controlled by the T2EX pin. A 1 on this pin
cause the counter to count up. An overflow while counting up will cause the counter to be reloaded
with the contents of the capture registers. The next down count following the case where the contents
of Timer/Counter equal the capture registers will load an FFFFh into Timer/Counter 2. In either event
a reload will set the TF2 bit. A reload will also toggle the EXF2 bit. However, the EXF2 bit can not
generate an interrupt while in this mode.
2 bit in T2CON is
相關PDF資料
PDF描述
W77LE58P-25 8 BIT MICROCONTROLLER
W78151 8-BIT Microcontroller(8位的微控制器)
W78L51F-24 8-BIT MICROCONTROLLER
W78L51 8-BIT MICROCONTROLLER
W78L51-24 8-BIT MICROCONTROLLER
相關代理商/技術參數(shù)
參數(shù)描述
W77LE58P-25 制造商:WINBOND 制造商全稱:Winbond 功能描述:8 BIT MICROCONTROLLER
W77M032A 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W77M032A25DL 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W77M032A25FL 功能描述:IC MCU 8-BIT 1K SRAM 44-PQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W77 標準包裝:60 系列:PSOC® 3 CY8C38xx 核心處理器:8051 芯體尺寸:8-位 速度:67MHz 連通性:EBI/EMI,I²C,LIN,SPI,UART/USART 外圍設備:電容感應,DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):25 程序存儲器容量:64KB(64K x 8) 程序存儲器類型:閃存 EEPROM 大小:2K x 8 RAM 容量:8K x 8 電壓 - 電源 (Vcc/Vdd):1.71 V ~ 5.5 V 數(shù)據(jù)轉換器:A/D 2x20b,D/A 4x8b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-VFQFN 裸露焊盤 包裝:托盤
W77M032A25PL 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER