![Intel 80C196NU Скачать руководство пользователя страница 437](http://html1.mh-extra.com/html/intel/80c196nu/80c196nu_user-manual_2072209437.webp)
8XC196NP, 80C196NU USER’S MANUAL
C-46
T1CONTROL
T1CONTROL
Address:
Reset State:
1F90H
00H
The timer 1 control (T1CONTROL) register determines the clock source, counting direction, and count
rate for timer 1.
7
0
CE
UD
M2
M1
M0
P2
P1
P0
Bit
Number
Bit
Mnemonic
Function
7
CE
Counter Enable
This bit enables or disables the timer. From reset, the timers are
disabled and not free running.
0 = disables timer
1 = enables timer
6
UD
Up/Down
This bit determines the timer counting direction, in selected modes (see
mode bits, M2:0).
0 = count down
1 = count up
5:3
M2:0
EPA Clock Direction Mode Bits
These bits determine the timer clocking source and direction control
source.
M2
M1
M0
Clock Source
Direction Source
0
0
0
f/4
UD bit (T1CONTROL.6)
X
0
1
T1CLK pin
†
UD bit (T1CONTROL.6)
0
1
0
f/4
T1DIR pin
0
1
1
T1CLK pin
†
T1DIR pin
1
1
1
quadrature clocking using T1CLK and T1DIR
†
If an external clock is selected, the timer counts on both the rising and
falling edges of the clock.
2:0
P2:0
EPA Clock Prescaler Bits
These bits determine the clock prescaler value.
P2
P1
P0
Prescaler Divisor
Resolution
†
0
0
0
divide by 1 (disabled)
160 ns
0
0
1
divide by 2
320 ns
0
1
0
divide by 4
640 ns
0
1
1
divide by 8
1.28 µs
1
0
0
divide by 16
2.56 µs
1
0
1
divide by 32
5.12 µs
1
1
0
divide by 64
10.24 µs
1
1
1
divide by 128 (NU only)
20.48 µs
†
At f = 25 MHz. Use the formula on page 10-6 to calculate the resolution
at other frequencies.
Содержание 80C196NU
Страница 1: ...8XC196NP 80C196NU Microcontroller User s Manual...
Страница 2: ...8XC196NP 80C196NU Microcontroller User s Manual August 1995 Order Number 272479 002...
Страница 18: ...1 Guide to This Manual...
Страница 19: ......
Страница 31: ......
Страница 32: ...2 Architectural Overview...
Страница 33: ......
Страница 48: ...3 Advanced Math Features...
Страница 49: ......
Страница 56: ...4 Programming Considerations...
Страница 57: ......
Страница 72: ...5 Memory Partitions...
Страница 73: ......
Страница 106: ...6 Standard and PTS Interrupts...
Страница 107: ......
Страница 144: ...7 I O Ports...
Страница 145: ......
Страница 165: ......
Страница 166: ...8 Serial I O SIO Port...
Страница 167: ......
Страница 183: ......
Страница 184: ...9 Pulse width Modulator...
Страница 185: ......
Страница 196: ...10 Event Processor Array EPA...
Страница 197: ......
Страница 225: ......
Страница 226: ...11 Minimum Hardware Considerations...
Страница 227: ......
Страница 239: ......
Страница 240: ...12 Special Operating Modes...
Страница 241: ......
Страница 255: ......
Страница 256: ...13 Interfacing with External Memory...
Страница 257: ......
Страница 303: ......
Страница 304: ...A Instruction Set Reference...
Страница 305: ......
Страница 373: ......
Страница 374: ...B Signal Descriptions...
Страница 375: ......
Страница 390: ...C Registers...
Страница 391: ......
Страница 447: ......
Страница 448: ...Glossary...
Страница 449: ......
Страница 458: ...Index...
Страница 459: ......