T16 Ch.n Mode Register; T16 Ch.n Control Register - Epson S1C17W18 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

T16_nCLK.
CLKDIV[3:0] bits
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
(Note 1) The oscillation circuits/external input that are not supported in this IC cannot be
selected as the clock source.
(Note 2) When the T16_nCLK.CLKSRC[1:0] bits are set to 0x3, EXCLm is selected for the
channel with an event counter function or EXOSC is selected for other channels.

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
S1C17W18 TECHNICAL MANUAL
(Rev. 1.2)
Table 11.6.1 Clock Source and Division Ratio Settings
0x0
IOSC
1/32,768
1/16,384
1/8,192
1/4,096
1/2,048
1/1,024
1/512
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
Bit name
Initial
0x00
0x00
TRMD
0
Bit name
Initial
0x00
PRUN
0
0x00
PRESET
0
MODEN
0
Seiko Epson Corporation
T16_nCLK.CLKSRC[1:0] bits
0x1
0x2
OSC1
OSC3
1/1
1/32,768
1/16,384
1/8,192
1/4,096
1/2,048
1/1,024
1/512
1/256
1/256
1/128
1/128
1/64
1/64
1/32
1/32
1/16
1/16
1/8
1/8
1/4
1/4
1/2
1/2
1/1
1/1
Reset
R/W
R
R
H0
R/W
Reset
R/W
R
H0
R/W
R
H0
R/W
H0
R/W
11 16-BIT TIMERS (T16)
0x3
EXOSC/EXCLm
1/1
Remarks
Remarks
11-5

Advertisement

Table of Contents
loading

Table of Contents