HD643303x Hitachi, HD643303x Datasheet - Page 377

no-image

HD643303x

Manufacturer Part Number
HD643303x
Description
Hitachi Microcomputer
Manufacturer
Hitachi
Datasheet
In receiving, the SCI operates as follows.
The SCI synchronizes with serial clock input or output and initializes internally.
Receive data is stored in RSR in order from LSB to MSB.
After receiving the data, the SCI checks that the RDRF flag is 0 so that receive data can be
transferred from RSR to RDR. If this check passes, the RDRF flag is set to 1 and the received
data is stored in RDR. If the check does not pass (receive error), the SCI operates as indicated
in table 11-11.
After setting the RDRF flag to 1, if the RIE bit is set to 1 in SCR, the SCI requests a receive-
data-full interrupt (RXI). If the ORER flag is set to 1 and the RIE bit in SCR is also set to 1,
the SCI requests a receive-error interrupt (ERI).
Figure 11-18 Sample Flowchart for Serial Receiving (2)
Clear ORER flag to 0 in SSR
Overrun error handling
Error handling
End
3
362

Related parts for HD643303x