Serial Status Register (Ssr) - Hitachi H8S/2646 Hardware Manual

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

13.2.7

Serial Status Register (SSR)

Bit
:
TDRE
Initial value
:
R/W
:
R/(W)*
Note: * Only 0 can be written, to clear the flag.
SSR is an 8-bit register containing status flags that indicate the operating status of the SCI, and
multiprocessor bits.
SSR can be read or written to by the CPU at all times. However, 1 cannot be written to flags
TDRE, RDRF, ORER, PER, and FER. Also note that in order to clear these flags they must be
read as 1 beforehand. The TEND flag and MPB flag are read-only flags and cannot be modified.
SSR is initialized to H'84 by a reset, in standby mode, watch mode, subactive mode, and subsleep
mode or module stop mode.
Bit 7—Transmit Data Register Empty (TDRE): Indicates that data has been transferred from
TDR to TSR and the next serial data can be written to TDR.
Bit 7
TDRE
Description
0
[Clearing conditions]
When 0 is written to TDRE after reading TDRE = 1
When the DTC is activated by a TXI interrupt and writes data to TDR
1
[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
7
6
5
RDRF
ORER
1
0
0
R/(W)*
R/(W)*
4
3
FER
PER
TEND
0
0
R/(W)*
R/(W)*
2
1
0
MPB
MPBT
1
0
0
R
R
R/W
(Initial value)
445

Advertisement

Table of Contents
loading

Table of Contents