0X5347: Remc Interrupt Flag Register (Remc_Iflg) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

21 REMOTE CONTROLLER (REMC)

0x5347: REMC Interrupt Flag Register (REMC_IFLG)

Register name Address
Bit
REMC Interrupt
0x5347
D7–3 –
Flag Register
(8 bits)
D2
(REMC_IFLG)
D1
D0
This register indicates the occurrence status of interrupt factors arising from data length counter underflow, input
signal rising edge, or input signal falling edge. When an REMC interrupt occurs, the interrupt flag in this register
should be inspected to identify the interrupt factor.
Setting the corresponding interrupt enable bit to 1 sets the interrupt flag to 1 when a data length counter underflow,
input signal rising edge, or input signal falling edge occurs. The REMC outputs an interrupt request signal to the
ITC at the same time, which sets the REMC interrupt flag to 1 within the ITC and generates an interrupt if the ITC
and S1C17 core interrupt conditions are met.
Note: To prevent generating unnecessary interrupts, reset the interrupt flag before permitting inter-
rupts by the interrupt enable bit.
D2
REMFIF: Falling Edge Interrupt Flag
Interrupt flag indicating the falling edge interrupt occurrence status.
1(R):
Interrupt factor present
0(R):
No interrupt factor (default)
1(W):
Reset flag
0(W):
Disabled
Setting REMFIE (D2/REMC_IMSK register) to 1 sets SIF1 to 1 at the input signal falling edge.
D1
REMRIF: Rising Edge Interrupt Flag
Interrupt flag indicating the rising edge interrupt factor occurrence status.
1(R):
Interrupt factor present
0(R):
No interrupt factor (default)
1(W):
Reset flag
0(W):
Disabled
Setting REMRIF (D1/REMC_IMSK register) to 1 sets REMRIE to 1 at the input signal falling edge.
D0
REMUIF: Underflow Interrupt Flag
Interrupt flag indicating the underflow interrupt factor occurrence status.
1(R):
Interrupt factor present
0(R):
No interrupt factor (default)
1(W):
Reset flag
0(W):
Disabled
Setting REMUIE (D1/REMC_IMSK register) to 1 sets REMUIF to 1 when a data length counter under-
flow occurs.
286
Name
Function
reserved
REMFIF
Falling edge interrupt flag
REMRIF
Rising edge interrupt flag
REMUIF
Underflow interrupt flag
Setting
1 Cause of
0 Cause of
interrupt
occurred
EPSON
Init. R/W
Remarks
0 when being read.
0
R/W Reset by writing 1.
interrupt not
0
R/W
occurred
0
R/W
S1C17001 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents