T16B Ch.n Counter Control Register - Epson S1C17M20 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

0x0
T16BnCLK.
CLKDIV[3:0] bits
IOSC
0xf
1/32,768
0xe
1/16,384
0xd
1/8,192
0xc
1/4,096
0xb
1/2,048
0xa
1/1,024
0x9
1/512
0x8
1/256
0x7
1/128
0x6
1/64
0x5
1/32
0x4
1/16
0x3
1/8
0x2
1/4
0x1
1/2
0x0
1/1
(Note) The oscillator circuits/external inputs that are not supported in this IC cannot be selected as the clock source.

T16B Ch.n Counter Control Register

Register name
Bit
T16BnCTL
15–9 –
8
7–6 –
5–4 CNTMD[1:0]
3
2
1
0
Bits 15–9 Reserved
Bit 8
MAXBSY
This bit indicates whether data can be written to the T16BnMC register or not.
1 (R):
Busy status (cannot be written)
0 (R):
Idle (can be written)
While this bit is 1, the T16BnMC register is loading the MAX value. Data writing is prohibited during
this period.
Bits 7–6
Reserved
Bits 5–4
CNTMD[1:0]
These bits select the counter up/down mode. The count mode is configured with this selection and the
T16BnCTL.ONEST bit setting (see Table 15.6.2).
Bit 3
ONEST
This bit selects the counter repeat/one-shot mode. The count mode is configured with this selection
and the T16BnCTL.CNTMD[1:0] bit settings (see Table 15.6.2).
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Table 15.6.1 Clock Source and Division Ratio Settings
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
Bit name
Initial
0x00
MAXBSY
0
0x0
0x0
ONEST
0
RUN
0
PRESET
0
MODEN
0
Seiko Epson Corporation
T16BnCLK.CLKSRC[2:0] bits
0x3
0x4
EXOSC
EXCLn0
1/1
1/1
Reset
R/W
R
H0
R
R
H0
R/W
H0
R/W
H0
R/W
H0
R/W
H0
R/W
15 16-BIT PWM TIMERS (T16B)
0x5
0x6
0x7
EXCLn0
EXCLn1
EXCLn1
inverted
inverted
input
input
1/1
1/1
1/1
Remarks
15-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents