Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SH79F024XU Datasheet(PDF) 30 Page - SINOWEALTH Electronic Ltd

Part # SH79F024XU
Description  Enhanced 8051 Microcontroller with 10bit ADC and PWM
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F024XU Datasheet(HTML) 30 Page - SINOWEALTH Electronic Ltd

Back Button SH79F024XU Datasheet HTML 26Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 27Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 28Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 29Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 30Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 31Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 32Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 33Page - SINOWEALTH Electronic Ltd SH79F024XU Datasheet HTML 34Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 92 page
background image
SH79F
SH79F
SH79F
SH79F082
082
082
082
30
7.7
7.7
7.7
7.7 Timer
Timer
Timer
Timer
7.7.1
7.7.1
7.7.1
7.7.1 Feature
Feature
Feature
Feature
�
The SH79F082 has two timers (Timer0, 1) which are compatible with the standard 8051
�
Timer 0 is compatible with the standard 8051
�
Timer 1 is compatible with the standard 8051
�
Timer0 compare function
7.7.2
7.7.2
7.7.2
7.7.2 Timer
Timer
Timer
Timer 0,
0,
0,
0, 1
1
1
1
Each timer is implemented as a 16-bit register accessed as two cascaded Timer x/Counter x Data Registers: THx & TLx (x =
0, 1). They are controlled by the register TCON and TMOD. The Timer 0 & Timer 1 interrupts can be enabled by setting the
ET0 & ET1 bit in the IEN0 register (Refer to Interrupt Section for details).
7.7.3
7.7.3
7.7.3
7.7.3 Timer
Timer
Timer
Timer x
x
x
x Mode
Mode
Mode
Mode (x
(x
(x
(x =
=
=
= 0,
0,
0,
0, 1)
1)
1)
1)
Both timers operate in one of four primary modes selected by the Mode Select bits Mx1-Mx0 (x = 0, 1) in the Counter/Timer
Mode register (TMOD).
Mode
Mode
Mode
Mode 0:
0:
0:
0: 13-bit
13-bit
13-bit
13-bit Counter/Timer
Counter/Timer
Counter/Timer
Counter/Timer
Timer x operate as 13-bit counter/timers in Mode 0. The THx register holds the high eight bits of the 13-bit counter/timer, TLx
holds the five low bits TLx.4 - TLx.0. The three upper bits (TLx.7 - TLx.5) of TLx are indeterminate and should be ignored
when reading. As the 13-bit timer register increments and overflows, the timer overflow flag TFx is set and an interrupt will
occur if Timer interrupts is enabled. The C/ T0
———
bit selects the counter/timer's clock source, timer1 do not have counter intput
source. so timer1 can not work when C/T1
———
= 1.
If C/ T0
———
= 1, high-to-low transitions at the Timer input pin (T0) will increase the timer/Counter Data register. Else if C/ T0
———
= 0,
selects the system clock to increase the timer/Counter Data register. Timer1 do not have T1 pin, if C/ T1
———
= 1, timer1 can not
work.
Setting the TRx bit enables the timer when either GATEx = 0, or GATEx = 1 and the input signal INTx
————
is active. Setting
GATEx to ‘1’ allows the timer to be controlled by the external input signal INTx
————
, facilitating positive pulse width in INTx
————
measurements. Setting TRx does not force the timer to reset. This means that if TRx is set, the timer register will count from
the old value that was last stopped by clearing TRx. So the timer registers should be loaded with the desired initial value
before the timer is enabled.
When as Timer, the T0 pin can automatically toggle upon Timer0 overflow by configuring TC0 in TCON1 Register. The T0
pin is automatically set as output by hardware when TC0 is set. Timer1 do not have compare function.
TLx
(5bits)
THx
(8bits)
TFx
Overflow
GATEx
INTx
TRx
C/Tx
=0
=1
0:Switch Off
1:Switch On
Tx
The Block Diagram of mode0 of Timerx ( x=0,1 )
The Block Diagram of mode0 of Timerx ( x=0,1 )
The Block Diagram of mode0 of Timerx ( x=0,1 )
The Block Diagram of mode0 of Timerx ( x=0,1 )
Interrupt
Request
Overflow
Flag
+
&
System Clock
C/Tx=0 and TCx=1
Tx
Note:
Note:
Note:
Note: Tx (x = 0), timer1 without T1 pin.



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


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