Hitachi SH7032 Hardware Manual page 604

Superh risc engine
Table of Contents

Advertisement

Table A.7
SSR Bit Functions
Bit
Bit name
7
Transmit data
register
empty
(TDRE)
6
Receive data
register full
(RDRF)
5
Overrun error
(ORER)
4
Framing error
(FER)
3
Parity error
(PER)
Value Description
0
Indicates that valid transmit data has been written to TDR
Clear Conditions: (1) 0 written in TDRE after reading TDRE = 1; (2)
Data written to TDR by DMAC
1
Indicates that there is no valid transmit data in TDR
Set Conditions: (1) Reset or standby mode; (2) TE bit of SCR is 0;
(3) Data transferred to TSR from TDR and data writing to TDR
enabled
0
Indicates that there is no valid receive data stored in RDR
Clear Conditions: (1) Reset or standby mode; (2) 0 written in RDRF
after reading RDRF = 1; (3) Data read in RDR by DMAC
1
Indicates that valid receive data is stored in RDR
Set Conditions: Serial reception ends normally and receive data is
transferred to RDR from RSR
0
Indicates that reception is in progress or has ended normally
Clear Conditions: (1) Reset or standby mode; (2) 0 written in ORER
after reading ORER = 1
1
Indicates that an overrun error occurred in reception
Set Conditions: The next serial reception ends while RDRF = 1
0
Indicates that reception is in progress or has ended normally
Clear Conditions: (1) Reset or standby mode; (2) 0 written in FER
after reading FER = 1
1
Indicates that a framing error occurred in reception
Set Conditions: When the stop bit at the end of the receive data
when the SCI finishes receiving has been checked to see if it is 1
and the stop bit is 0
0
Indicates that reception is in progress or has ended normally
Clear Conditions: (1) Reset or standby mode; (2) 0 written in PER
after reading PER = 1
1
Indicates that a parity error occurred in reception
Set Conditions: When the number of 1's in the receive data and
parity bit together during reception is not consistent with the
even/odd parity setting specified in the O/E bit of the serial mode
register (SMR)
(Initial value)
(Initial value)
(Initial value)
(Initial value)
(Initial value)
569

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents