Download Print this page

Epson S1C31D50 Technical Instructions page 155

Cmos 32-bit single chip microcontroller
Hide thumbs Also See for S1C31D50:

Advertisement

T16 Ch.n Mode Register
Register name
Bit
T16_nMOD
15–8
7–1
0
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
T16_nCTL
15–9
8
7–2
1
0
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_nCTL.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_nTR register to the counter.
1 (W): Preset
0 (W):
1 (R):
0 (R):
By writing 1 to this bit, the timer presets the T16_nTR register value to the counter.
However, the T16_nCTL.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)
12-6
Bit name
Initial
0x00
0x00
TRMD
0
Bit name
Initial
0x00
PRUN
0
0x00
PRESET
0
MODEN
0
Ineffective
Presetting in progress
Presetting finished or normal operation
Seiko Epson Corporation
Reset
R/W
R
R
H0
R/W
Reset
R/W
R
H0
R/W
R
H0
R/W
H0
R/W
Remarks
Remarks
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)

Advertisement

loading