12-6
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
T16 Ch.
n
Mode Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16_
n
MOD
15
–
8
–
0x00
–
R
–
7
–
1
–
0x00
–
R
0
TRMD
0
H0
R/W
Bits 15
–
1
Reserved
Bit 0
TRMD
This bit selects the T16 operation mode.
1 (R/W): One-shot mode
0 (R/W): Repeat mode
For detailed information on the operation mode, refer to
“Operations
in One-shot
Mode”
and “Operations in Repeat Mode
.
”
T16 Ch.
n
Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16_
n
CTL
15
–
9
–
0x00
–
R
–
8
PRUN
0
H0
R/W
7
–
2
–
0x00
–
R
1
PRESET
0
H0
R/W
0
MODEN
0
H0
R/W
Bits 15
–
9
Reserved
Bit 8
PRUN
This bit starts/stops the timer.
1 (W): Start timer
0 (W): Stop timer
1 (R): Timer is running
0 (R): Timer is idle
By writing 1 to this bit, the timer starts count operations. However, the T16_
n
CTL.MODEN
bit must be set to 1 in conjunction with this bit or it must be set in advance. While the
timer is running, writing 0 to this bit stops count operations. When the counter stops due
to a counter underflow in one-shot mode, this bit is automatically cleared to 0.
Bits 7
–
2
Reserved
Bit 1
PRESET
This bit presets the reload data stored in the T16_
n
TR register to the counter.
1 (W): Preset
0 (W): Ineffective
1 (R): Presetting in progress
0 (R): Presetting finished or normal operation
By writing 1 to this bit, the timer presets the T16_
n
TR register value to the counter.
However, the T16_
n
CTL.MODEN bit must be set to 1 in conjunction with this bit or it must
be set in advance. This bit retains 1 during presetting and is automatically cleared to 0 after
presetting has finished.
Bit 0
MODEN
This bit enables the T16 Ch.
n
operations.
1 (R/W): Enable (Start supplying operating clock)
0 (R/W): Disable (Stop supplying operating clock)
Содержание S1C31D50
Страница 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Страница 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Страница 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Страница 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...