XC886/888CLM
Timers
User’s Manual
13-12
V1.3, 2010-02
Timers, V 1.0
TMOD
Timer Mode Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
GATE1
T1S
T1M
GATE0
T0S
T0M
r
rw
rw
rw
rw
rw
rw
Field
Bits
Type Description
T0M
[1:0]
rw
Mode select bits
00
13-bit timer (M8048 compatible mode)
01
16-bit timer
10
8-bit auto-reload timer
11
Timer 0 is split into two halves. TL0 is an 8-
bit timer controlled by the standard Timer 0
control bits, and TH0 is the other 8-bit timer
controlled by the standard Timer 1 control
bits. TH1 and TL1 of Timer 1 are held
(Timer 1 is stopped).
T1M
[5:4]
rw
Mode select bits
00
13-bit timer (M8048 compatible mode)
01
16-bit timer
10
8-bit auto-reload timer
11
Timer 0 is split into two halves. TL0 is an 8-
bit timer controlled by the standard Timer 0
control bits, and TH0 is the other 8-bit timer
controlled by the standard Timer 1 control
bits. TH1 and TL1 of Timer 1 are held
(Timer 1 is stopped).
T0S
2
rw
Timer 0 Selector
0
Input is from internal system clock
1
Input is from T0 pin
GATE0
3
rw
Timer 0 Gate Flag
0
Timer 0 will only run if TCON.TR0 = 1
(software control)
1
Timer 0 will only run if EXINT0 pin = 1
(hardware control) and TCON.TR0 is set
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...