最新免费av在线观看,亚洲综合一区成人在线,中文字幕精品无码一区二区三区,中文人妻av高清一区二区,中文字幕乱偷无码av先锋

AT89c52 Datasheet

  • AT89c52

  • 8 Bit MicroController with 8K Flash 

  • Atmel   Atmel

掃碼查看芯片數(shù)據(jù)手冊(cè)

上傳產(chǎn)品規(guī)格書(shū)

PDF預(yù)覽

AT89C52
Figure 2 shows Timer 2 automatically counting up when
DCEN = 0. In this mode, two options are selected by bit
EXEN2 in T2CON. If EXEN2 = 0, Timer 2 counts up to
0FFFFH and then sets the TF2 bit upon overflow. The over-
flow also causes the timer registers to be reloaded with the
16-bit value in RCAP2H and RCAP2L. The values in Timer
in Capture ModeRCAP2H and RCAP2L are preset by soft-
ware. If EXEN2 = 1, a 16-bit reload can be triggered either
by an overflow or by a 1-to-0 transition at external input
T2EX. This transition also sets the EXF2 bit. Both the TF2
and EXF2 bits can generate an interrupt if enabled.
Setting the DCEN bit enables Timer 2 to count up or down,
as shown in Figure 3. In this mode, the T2EX pin controls
Figure 2.
Timer 2 Auto Reload Mode (DCEN = 0)
OSC
梅12
C/T2 = 0
TH2
CONTROL
TR2
C/T2 = 1
T2 PIN
RCAP2H RCAP2L
TF2
TRANSITION
DETECTOR
T2EX PIN
CONTROL
EXEN2
EXF2
RELOAD
TIMER 2
INTERRUPT
TL2
OVERFLOW
the direction of the count. A logic 1 at T2EX makes Timer 2
count up. The timer will overflow at 0FFFFH and set the
TF2 bit. This overflow also causes the 16-bit value in
RCAP2H and RCAP2L to be reloaded into the timer regis-
ters, TH2 and TL2, respectively.
A logic 0 at T2EX makes Timer 2 count down. The timer
underflows when TH2 and TL2 equal the values stored in
RCAP2H and RCAP2L. The underflow sets the TF2 bit and
causes 0FFFFH to be reloaded into the timer registers.
The EXF2 bit toggles whenever Timer 2 overflows or
underflows and can be used as a 17th bit of resolution. In
this operating mode, EXF2 does not flag an interrupt.
Table 4.
T2MOD鈥擳imer 2 Mode Control Register
T2MOD Address = 0C9H
Not Bit Addressable
鈥?/div>
Bit
Symbol
鈥?/div>
T2OE
DCEN
7
Function
Not implemented, reserved for future
Timer 2 Output Enable bit.
When set, this bit allows Timer 2 to be configured as an up/down counter.
鈥?/div>
6
鈥?/div>
5
鈥?/div>
4
鈥?/div>
3
鈥?/div>
2
T2OE
1
DCEN
0
Reset Value = XXXX XX00B
4-67

AT89c52相關(guān)型號(hào)PDF文件下載

  • 型號(hào)
    版本
    描述
    廠商
    下載
  • 英文版
    ATMEL Corporation [8-Bit Microcontroller with 1K Byte Flash...
    ATMEL
  • 英文版
    2-Kbyte In-system Flash -- Single-Cycle Microcontroller, 256...
    ATMEL
  • 英文版
  • 英文版
    8-Bit Microcontroller with 4K Bytes Flash
    ATMEL
  • 英文版
    8-Bit Microcontroller with 4K Bytes Flash
    ATMEL [ATM...
  • 英文版
    State-of-the Art Evaluation Module for 8, 20 & 40-pin Microc...
    ETC
  • 英文版
    8 Bit MicroController with 8K Flash 
    Atmel
  • 英文版
    State-of-the Art Evaluation Module for 8, 20 & 40-pin Microc...
    ETC
  • 英文版
    8-Bit Microcontroller with 20K Bytes FLASH
    Atmel
  • 英文版
    8-bit Microcontroller with 4K Bytes In-System Programmable F...
    ATMEL
  • 英文版
    8-bit Microcontroller with 4K Bytes In-System Programmable F...
    ATMEL [ATM...
  • 英文版
    AT89S52 [Updated 6/01. 30 Pages]
    Atmel
  • 英文版
    8-bit Microcontroller with 8K Bytes In-System Programmable F...
    ATMEL [ATM...
  • 英文版
    8-Bit Microcontroller with 12K Bytes Flash
    ATMEL
  • 英文版
    8-Bit Microcontroller with 12K Bytes Flash
    ATMEL [ATM...
  • 英文版
    8-Bit Microcontroller with 2K Bytes Flash
    ATMEL
  • 英文版
    8-Bit Microcontroller with 2K Bytes Flash
    ATMEL [ATM...
  • 英文版
  • 英文版
    8-bit Low-Voltage Microcontroller with 4K Bytes In-System Pr...
    ATMEL
  • 英文版
    8-bit Low-Voltage Microcontroller with 4K Bytes In-System Pr...
    ATMEL [ATM...

掃碼下載APP,
一鍵連接廣大的電子世界。

在線人工客服

買(mǎi)家服務(wù):
賣(mài)家服務(wù):
技術(shù)客服:

0571-85317607

網(wǎng)站技術(shù)支持

13606545031

客服在線時(shí)間周一至周五
9:00-17:30

關(guān)注官方微信號(hào),
第一時(shí)間獲取資訊。

建議反饋

聯(lián)系人:

聯(lián)系方式:

按住滑塊,拖拽到最右邊
>>
感謝您向阿庫(kù)提出的寶貴意見(jiàn),您的參與是維庫(kù)提升服務(wù)的動(dòng)力!意見(jiàn)一經(jīng)采納,將有感恩紅包奉上哦!