поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT80C51 датащи(PDF) 29 Page - List of Unclassifed Manufacturers

номер детали HT80C51
подробное описание детали  User Manual Document Information
PDF  132 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ETC2 [List of Unclassifed Manufacturers]
домашняя страница  
Logo ETC2 - List of Unclassifed Manufacturers

HT80C51 датащи(HTML) 29 Page - List of Unclassifed Manufacturers

Back Button HT80C51 Datasheet HTML 25Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 26Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 27Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 28Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 29Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 30Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 31Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 32Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 33Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 132 page
background image
HT80C51 User Manual
Peripheral Modules – Timers 0 and 1
Handshake Solutions
© Philips Electronics N.V. 2005
Page 29 of 132
5.2.4.
Operation
The timer- or counter-function is selected by control bits C/Tx in the special function register TMOD.
These two timer/counters have four operating modes, which are selected by bit-pairs (M1, M0) in TMOD.
Modes 0, 1, and 2 are the same for both timers/counters.
Mode 3 is different. The four operating modes are described in the following text.
5.2.4.1.
Mode 0
Putting either timer into mode 0 makes it look like an 8048 timer, which is an 8-bit counter with a di-
vide-by-32 prescaler.[Figure 9] shows the mode 0 operation as it applies to timer 1.
In this mode, the timer register is configured as a 13-bit register. As the count rolls over from all 1s to
all 0s, it sets the timer interrupt flag TF1. The counted input is enabled to the timer when TR1 = 1 and
either GATE1 = 0 or pin t01_int1_n_i = 1. Setting GATE1 = 1 allows the timer to be controlled by
external input t01_int1_n_i, to facilitate pulse width measurements). TR1 is a control bit in the spe-
cial function register TCON. GATE1 is in TMOD.
The 13-bit register consists of all 8 bits of TH1 and the lower 5 bits of TL1. The upper 3 bits of TL1 are
indeterminate and should be ignored. Setting the run flag (TR1) does not clear the registers.
Mode 0 operation is the same for the timer 0 as for timer 1. Substitute TR0, TF0, GATE0, C/T0,
t0_count_i and t01_int0_n_i for the corresponding timer 1 signals in [Figure 9].
t
01_clk_i
t1_count_i
t01_int1_n_i
GATE1
TR1
TH1
(5 Bits)
TH1
(8 Bits)
TF1
interrupt
Control
C/T1=1
C/T1=0
[Figure 9]
Timer/Counter mode 0: 13bit counter
5.2.4.2.
Mode 1
Mode 1 is the same as mode 0, except that the timer register is being run with all 16 bits.
5.2.4.3.
Mode 2
Mode 2 configures the timer register as an 8bit counter (TL1) with automatic reload, as shown in
[Figure 10]. Overflow from TL1 not only sets TF1, but also reloads TL1 with the contents of TH1, which is
preset by software. The reload leaves TH1 unchanged. Mode 2 operation is the same for timer/counter
0.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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