12-7
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
T16 Ch.
n
Reload Data Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16_
n
TR
15
–
0
TR[15:0]
0xffff
H0
R/W
–
Bits 15
–
0
TR[15:0]
These bits are used to set the initial value to be preset to the counter.
The value set to this register will be preset to the counter when 1 is written to the
T16_
n
CTL.PRESET bit or when the counter underflows.
Notes:
•
The T16_
n
TR register cannot be altered while the timer is running (T16_
n
CTL.PRUN bit
= 1), as an incorrect initial value may be preset to the counter.
•
When one-shot mode is set, the T16_
n
TR.TR[15:0] bits should be set to a value equal
to or greater than 0x0001.
T16 Ch.
n
Counter Data Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16_
n
TC
15
–
0
TC[15:0]
0xffff
H0
R
–
Bits 15
–
0
TC[15:0]
The current counter value can be read out from these bits.
T16 Ch.
n
Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16_
n
INTF
15
–
8
–
0x00
–
R
–
7
–
1
–
0x00
–
R
0
UFIF
0
H0
R/W
Cleared by writing 1.
Bits 15
–
1
Reserved
Bit 0
UFIF
This bit indicates the T16 Ch.
n
underflow interrupt cause occurrence status.
1 (R): Cause of interrupt occurred
0 (R): No cause of interrupt occurred
1 (W): Clear flag
0 (W): Ineffective
T16 Ch.
n
Interrupt Enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16_
n
INTE
15
–
8
–
0x00
–
R
–
7
–
1
–
0x00
–
R
0
UFIE
0
H0
R/W
Bits 15
–
1
Reserved
Bit 0
UFIE
This bit enables T16 Ch.
n
underflow interrupts.
1 (R/W): Enable interrupts
0 (R/W): Disable interrupts
Note:
To prevent generating unnecessary interrupts, the corresponding interrupt flag should
be cleared before enabling interrupts.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...