Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

SH79F6488P/080PR Datasheet(PDF) 53 Page - SINOWEALTH Electronic Ltd

Part # SH79F6488P/080PR
Description  Enhanced 8051 Microcontroller with 20bit Σ-ΔADC and LCD Driver
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F6488P/080PR Datasheet(HTML) 53 Page - SINOWEALTH Electronic Ltd

Back Button SH79F6488P/080PR Datasheet HTML 49Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 50Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 51Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 52Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 53Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 54Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 55Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 56Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 57Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 152 page
background image
SH79F6488/SH79F6489
53
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


Datasheet Download

Go To PDF Page


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


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