Datasheet

Appendix B Internal I/O Registers
Rev.6.00 Sep. 27, 2007 Page 1162 of 1268
REJ09B0220-0600
SSR0—Serial Status Register 0 H'FF7C Smart Card Interface 0
7
TDRE
1
R/(W)*
6
RDRF
0
R/(W)*
5
ORER
0
R/(W)*
4
ERS
0
R/(W)*
3
PER
0
R/(W)*
0
MPBT
0
R/W
2
TEND
1
R
1
MPB
0
R
Note: * Can only be written with 0 for flag clearing.
0
Transmit Data Register Empty
Note: 1. The DMAC is not supported in the H8S/2321.
0
Receive Data Register Full
Note: 1. The DMAC is not supported in the H8S/2321.
0
Overrun Error
0
Error Signal Status
0
Parity Error
0
Transmit End
Transmission in progress
[Clearing conditions]
When 0 is written to TDRE after reading TDRE = 1
When the DMAC*
1
or DTC is activated by a TXI interrupt and
writes data to TDR
0
Multiprocessor Bit
[Clearing condition]
When data with a 0 multiprocessor bit is received
[Setting condition]
When data with a 1 multiprocessor bit is received
Multiprocessor Bit Transfer
0
1
Data with a 0 multiprocessor bit is transmitted
Data with a 1 multiprocessor bit is transmitted
Bit
Initial value
Read/Write
:
:
:
[Clearing condition]
When 0
is written to PER after reading PER = 1
[Setting condition]
When, in reception, the number of 1 bits in the receive data plus the parity bit
does not match the parity setting (even or odd)
specified by the O/E bit in SMR
Data has been received normally, and there is no error signal
[Clearing conditions]
On reset, or in standby mode or module stop mode
When 0 is written to ERS after read
ing ERS = 1
Error signal indicating detection of parity error has been sent by receiving device
[Setting condition]
When the error signal is sampled at the low level
[Clearing condition]
When 0 is
written to ORER after reading ORER = 1
[Setting condition]
When the next serial reception is completed while RDRF = 1
[Clearing conditions]
When 0 is written to RDRF after reading RDRF = 1
When
the DMAC*
1
or DTC is activated by an RXI interrupt and reads data from RDR
[Setting condition]
When serial reception ends normally and receive data is transferred from RSR to RDR
[Clearing conditions]
When 0 is written
to TDRE after reading TDRE = 1
When the DMAC*
1
or DTC is activated by a TXI interrupt and writes data to TDR
[Setting conditions]
When the TE bit in SCR is 0
When data is transferred from TDR to TSR and data can be written to TDR
Note: etu: Elementary ti
me unit (time for transfer of 1 bit)
1. The DMAC is not supported in the H8S/2321.
Note: Clearing the TE bit in SCR to 0 does not affect the ERS flag, which retains its prior state.
1
1
1
1
1
1
1
Transmission has ended
[Setting conditions]
On reset, or in standby mode or module stop
mode
When the TE bit in SCR is 0 and the ERS bit is 0
When TDRE = 1 and ERS = 0 (normal transmission) 2.5 etu after
transmission of a 1-byte serial character when GM = 0 and BLK = 0
When TDRE = 1 and E
RS = 0 (normal transmission) 1.5 etu after
transmission of a 1-byte serial character when GM = 0 and BLK = 1
When TDRE = 1 and ERS = 0 (normal transmission) 1.0 etu after
transmission of a 1-byte serial character when
GM = 1 and BLK = 0
When TDRE = 1 and ERS = 0 (normal transmission) 1.0 etu after
transmission of a 1-byte serial character when GM = 1 and BLK = 1