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

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

Bits 15–0 TC[15:0]
The current counter value can be read out through these bits.

T16B Ch.n Counter Status Register

Register name
Bit
T16BnCS
15–8 –
7
6
5
4
3
2
1
0
Bits 15–8 Reserved
Bit 7
CAPI5
Bit 6
CAPI4
Bit 5
CAPI3
Bit 4
CAPI2
Bit 3
CAPI1
Bit 2
CAPI0
These bits indicate the signal level currently input to the CAPnm pin.
1 (R):
Input signal = High level
0 (R):
Input signal = Low level
The following shows the correspondence between the bit and the CAPnm pin:
T16BnCS.CAPI5 bit: CAPn5 pin
T16BnCS.CAPI4 bit: CAPn4 pin
T16BnCS.CAPI3 bit: CAPn3 pin
T16BnCS.CAPI2 bit: CAPn2 pin
T16BnCS.CAPI1 bit: CAPn1 pin
T16BnCS.CAPI0 bit: CAPn0 pin
Note: The configuration of the T16BnCS.CAPIm bits depends on the model. The bits correspond-
ing to the CAPnm pins that do not exist are read-only bits and are always fixed at 0.
Bit 1
UP_DOWN
This bit indicates the currently set count direction.
1 (R):
Count up
0 (R):
Count down
Bit 0
BSY
This bit indicates the counter operating status.
1 (R):
Running
0 (R):
Idle
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Bit name
Initial
0x00
CAPI5
0
CAPI4
0
CAPI3
0
CAPI2
0
CAPI1
0
CAPI0
0
UP_DOWN
1
BSY
0
Seiko Epson Corporation
15 16-BIT PWM TIMERS (T16B)
Reset
R/W
R
H0
R
H0
R
H0
R
H0
R
H0
R
H0
R
H0
R
H0
R
Remarks
15-25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents