Epson 0C88832 Technical Manual page 67

Cmos 8-bit single chip microcomputer
Table of Contents

Advertisement

Error generation
Receive completion
Transmit completion
Receiving complete interrupt
This interrupt factor is generated at the point where
receiving has been completed and the receive data
incorporated into the shift register has been trans-
ferred into the received data buffer and it sets the
interrupt factor flag FSREC to "1". When set in this
manner, if the corresponding interrupt enable
register ESREC is set to "1" and the corresponding
interrupt priority registers PSIF0 and PSIF1 are set to
a higher level than the setting of interrupt flags (I0
and I1), an interrupt will be generated to the CPU.
When "0" has been written into the interrupt enable
register ESREC and interrupt has been disabled, an
interrupt is not generated to the CPU. Even in this
case, the interrupt factor flag FSREC is set to "1".
The interrupt factor flag FSREC is reset to "0" by
writing "1".
The generation of this interrupt factor permits the
received data to be read.
Also, the interrupt factor flag is set to "1" when a
parity error or framing error is generated.
The exception processing vector address for this
interrupt factor is set at 000012H.
E0C88832/88862 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface)
Interrupt priority
register PSIF0, PSIF1
Address
Interrupt factor
flag
FSERR
Address
Interrupt enable
register ESERR
Address
Interrupt factor
flag
FSREC
Address
Interrupt enable
register ESREC
Address
Interrupt factor
flag
FSTRA
Address
Interrupt enable
register ESTRA
Address
Fig. 5.7.8.1 Configuration of serial interface interrupt circuit
Error interrupt
This interrupt factor is generated at the point where
a parity error, framing error or overrun error is
detected during receiving and it sets the interrupt
factor flag FSERR to "1". When set in this manner, if
the corresponding interrupt enable register ESERR
is set to "1" and the corresponding interrupt priority
registers PSIF0 and PSIF1 are set to a higher level
than the setting of interrupt flags (I0 and I1), an
interrupt will be generated to the CPU.
When "0" has been written in the interrupt enable
register ESERR and interrupt has been disabled, an
interrupt is not generated to the CPU. Even in this
case, the interrupt factor flag FSERR is set to "1".
The interrupt factor flag FSERR is reset to "0" by
writing "1".
Since all three types of errors result in the same
interrupt factor, you should identify the error that
has been generated by the error flags PER (parity
error), OER (overrun error) and FER (framing
error).
The exception processing vector address for this
interrupt factor is set at 000010H.
EPSON
Interrupt priority
Interrupt
level judgement
request
circuit
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

88862

Table of Contents