11 16-BiT TiMeRS (T16)
11-10
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
D0
PRun: Timer Run/Stop Control Bit
Controls the timer RUN/STOP.
1 (R/W): Run
0 (R/W): Stop (default)
The timer starts counting when PRUN is written as 1 and stops when written as 0. When the timer is
stopped, the counter data is retained until reset or until the next RUN state.
T16 Ch.
x
interrupt Control Registers (T16_inT
x
)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
T16 Ch.
x
inter-
rupt Control
Register
(T16_inT
x
)
0x4228
0x4248
0x4268
(16 bits)
D15–9 –
reserved
–
–
–
0 when being read.
D8
T16ie
T16 interrupt enable
1 Enable
0 Disable
0
R/W
D7–1 –
reserved
–
–
–
0 when being read.
D0
T16iF
T16 interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D[15:9] Reserved
D8
T16ie: T16 interrupt enable Bit
Enables or disables interrupts caused by counter underflows for each channel.
1 (R/W): Interrupt enabled
0 (R/W): Interrupt disabled (default)
Setting T16IE to 1 enables T16 interrupt requests to the ITC; setting to 0 disables interrupts.
D[7:1]
Reserved
D0
T16iF: T16 interrupt Flag Bit
Indicates whether the cause of counter underflow interrupt has occurred or not.
1 (R):
Cause of interrupt has occurred
0 (R):
No cause of interrupt has occurred (default)
1 (W):
Flag is reset
0 (W):
Ignored
T16IF is the T16 module interrupt flag that is set to 1 when the counter underflows.
T16IF is reset by writing 1.