công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

SH79F166AP/044PR bảng dữ liệu(PDF) 40 Page - SINOWEALTH Electronic Ltd

tên linh kiện SH79F166AP/044PR
Giải thích chi tiết về linh kiện  Enhanced 8051 Microcontroller with 10bit ADC
PDF  113 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SINOWEALTH [SINOWEALTH Electronic Ltd]
Trang chủ  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F166AP/044PR bảng dữ liệu(HTML) 40 Page - SINOWEALTH Electronic Ltd

Back Button SH79F166AP/044PR Datasheet HTML 36Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 37Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 38Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 39Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 40Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 41Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 42Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 43Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 44Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 113 page
background image
SH79F166A
40
Mode1: 16 bit auto-reload Timer
Timer2 can be programmed to count up or down when configured in its 16-bit auto-reload mode. This feature is invoked by the
DCEN (Down Counter Enable) bit in T2MOD. After reset, the DCEN bit is set to 0 so that Timer2 will default to count up. When
DCEN is set, Timer2 can count up or down, depending on the value of the T2EX pin.
When DCEN = 0, two options are selected by bit EXEN2 in T2CON.
If EXEN2 = 0, Timer2 counts up to 0FFFFH and then sets the TF2 bit upon overflow. The overflow also causes the timer
registers to be reloaded with the 16-bit value in RCAP2H and RCAP2L, which are pressed by software.
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 ET2 is enabled.
TF2
C/T2
=0
=1
The Block Diagram of Auto Relode Mode (Mode 1)of Timer2 (DCEN=0)
RCAP2L
RCAP2H
EXF2
+
0:Switch Off
1:Switch On
Increment Mode
0:Switch Off
1:Switch On
External Falling
Edge flag
TL2
TH2
+
T2EX
T2
Interrupt
Request
Overflow
Flag
TR2
EXEN2
System Clock
Setting the DCEN bit enables Timer2 to count up or down. When DCEN = 1, the T2EX pin controls the direction of the count,
and EXEN2’s control is invalid.
A logical “1” at T2EX makes Timer2 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 registers, TH2 and TL2, respectively.
A logical “0” at T2EX makes Timer2 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 Timer2 overflows or underflows and can be used as a 17th bit of resolution. In this operating
mode, EXF2 does not flag an interrupt.
TF2
TR2
C/T2
The Block Diagram of Auto-Reload Mode ( Mode 1) of Timer2 (DCEN=1)
T2EX
EXF2
Toggle
1.T2EX=1, Timer2 is up counter
2.T2EX=0, Timer2 is down counter
T2
System
Clock
TL2
TH2
RCAP2L
RCAP2H
FFH
FFH
=0
=1
0:Switch Off
1:Switch On
Overflow
Flag
Interrupt
Request



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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