Hitachi H8/3827R Series Hardware Manual page 411

Table of Contents

Advertisement

SSR31—Serial status register31
Bit
7
TDRE31
Initial value
1
Read/Write
R/(W)
Multiprocessor bit transfer
0
1
Multiprocessor bit receive
0
Data in which the multiprocessor bit is 0 has been received
1
Data in which the multiprocessor bit is 1 has been received
Transmit end
0
Transmission in progress
[Clearing conditions]
Transmission ended
1
[Setting conditions]
Parity error
0
Reception in progress or completed normally
[Clearing conditions] After reading PER31 = 1, cleared by writing 0 to PER31
A parity error has occurred during reception
1
[Setting conditions]
Framing error
0
Reception in progress or completed normally
[Clearing conditions] After reading FER31 = 1, cleared by writing 0 to FER31
A framing error has occurred during reception
1
[Setting conditions] When the stop bit at the end of the receive data is checked for a value of 1 at completion of
Overrun error
Reception in progress or completed
0
[Clearing conditions] After reading OER31 = 1, cleared by writing 0 to OER31
1
An overrun error has occurred during reception
[Setting conditions] When the next serial reception is completed with RDRF31 set to 1
Receive data register full
0
There is no receive data in RDR31
[Clearing conditions] • After reading RDRF31 = 1, cleared by writing 0 to RDRF31
1
There is receive data in RDR31
[Setting conditions] When reception ends normally and receive data is transferred from RSR31 to RDR31
Transmit data register empty
0
Transmit data written in TDR31 has not been transferred to TSR31
[Clearing conditions] • After reading TDRE31 = 1, cleared by writing 0 to TDRE31
• When data is written to TDR31 by an instruction
1
Transmit data has not been written to TDR31, or transmit data written in TDR31 has been transferred to TSR31
[Setting conditions]
• When bit TE in serial control register 31 (SCR31) is cleared to 0
• When data is transferred from TDR31 to TSR31
Note: * Only a write of 0 for flag clearing is possible.
6
5
RDRF31
OER31
0
0
*
*
*
R/(W)
R/(W)
A 0 multiprocessor bit is transmitted
A 1 multiprocessor bit is transmitted
• After reading TDRE31 = 1, cleared by writing 0 to TDRE
• When data is written to TDR31 by an instruction
• When bit TE in serial control register 31 (SCR31) is cleared to 0
• When bit TDRE31 is set to 1 when the last bit of a transmit character is sent
When the number of 1 bits in the receive data plus parity bit does not match the parity
designated by the parity mode bit (PM31) in the serial mode register (SMR31)
reception, and the stop bit is 0
• When RDR31 data is read by an instruction
H'9C
4
3
FER31
PER31
TEND31
0
0
*
*
R/(W)
R/(W)
2
1
0
MPBR31
MPBT31
1
0
0
R
R
R/W
SCI3
407

Advertisement

Table of Contents
loading

Table of Contents