22 iR ReMOTe COnTROlleR (ReMC)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
22-9
ReMC interrupt Control Register (ReMC_inT)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
ReMC interrupt
Control Register
(ReMC_inT)
0x5346
(16 bits)
D15–11 –
reserved
–
–
–
0 when being read.
D10
ReMFiF
Falling edge interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D9
ReMRiF
Rising edge interrupt flag
0
R/W
D8
ReMuiF
Underflow interrupt flag
0
R/W
D7–3 –
reserved
–
–
–
0 when being read.
D2
ReMFie
Falling edge interrupt enable
1 Enable
0 Disable
0
R/W
D1
ReMRie
Rising edge interrupt enable
1 Enable
0 Disable
0
R/W
D0
ReMuie
Underflow interrupt enable
1 Enable
0 Disable
0
R/W
This register controls the data length counter underflow, input signal rising edge, and input signal falling edge inter-
rupts. The interrupt flag is set to 1 when the data length counter underflows, or when an input signal rising edge or
falling edge is detected. If the corresponding interrupt enable bit has been set to 1, the REMC outputs an interrupt
request signal to the ITC at the same time. An interrupt will be generated if the ITC and S1C17 Core interrupt con-
ditions are met. When an REMC interrupt occurs, check the interrupt flag status in this register to identify the cause
of interrupt occurred. If the interrupt enable bit is set to 0, the interrupt is disabled.
notes: • To prevent interrupt recurrences, the REMC module interrupt flag must be reset in the inter-
rupt handler routine after an REMC interrupt has occurred.
• To prevent generating unnecessary interrupts, reset the interrupt flag before enabling inter-
rupts by the interrupt enable bit.
D[15:11] Reserved
D10
ReMFiF: Falling edge interrupt Flag Bit
Indicates the falling edge interrupt cause occurrence status.
1 (R):
Cause of interrupt has occurred
0 (R):
No cause of interrupt has occurred (default)
1 (W):
Flag is reset
0 (W):
Ignored
REMFIF is set to 1 at the input signal falling edge. REMFIF is reset to 0 by writing 1.
D9
ReMRiF: Rising edge interrupt Flag Bit
Indicates the rising edge interrupt cause occurrence status.
1 (R):
Cause of interrupt has occurred
0 (R):
No cause of interrupt has occurred (default)
1 (W):
Flag is reset
0 (W):
Ignored
REMRIF is set to 1 at the input signal rising edge. REMRIF is reset to 0 by writing 1.
D8
ReMuiF: underflow interrupt Flag Bit
Indicates the underflow interrupt cause occurrence status.
1 (R):
Cause of interrupt has occurred
0 (R):
No cause of interrupt has occurred (default)
1 (W):
Flag is reset
0 (W):
Ignored
REMUIF is set to 1 when a data length counter underflow occurs. REMUIF is reset to 0 by writing 1.
D[7:3]
Reserved
D2
ReMFie: Falling edge interrupt enable Bit
Enables or disables input signal falling edge interrupts.
1 (R/W): Interrupt enabled
0 (R/W): Interrupt disabled (default)