Datasheet

Appendix B Internal I/O Register
R01UH0166EJ0600 Rev. 6.00 Page 1251 of 1434
Mar 02, 2011
H8S/2633 Group, H8S/2633 F-ZTAT
TM
,
H8S/2633R F-ZTAT
TM
, H8S/2695
SCR3—Serial Control Register 3
SCR4—Serial Control Register 4
SCR0—Serial Control Register 0
SCR1—Serial Control Register 1
SCR2—Serial Control Register 2
H'FDD2
H'FDDA
H'FF7A
H'FF82
H'FF8A
SCI3
SCI4
SCI0
SCI1
SCI2
7
TIE
0
R/W
6
RIE
0
R/W
5
TE
0
R/W
4
RE
0
R/W
3
MPIE
0
R/W
0
CKE0
0
R/W
2
TEIE
0
R/W
1
CKE1
0
R/W
Transmit interrupt enable
0 Disable transmit data empty interrupt (TXI) requests.
1 Enable transmit data empty interrupt (TXI) requests.
Receive interrupt enable
0 Disable receive data full interrupt (RXI) requests and receive error interrupt (ERI) requests.*
1 Enable receive data full interrupt (RXI) requests and receive error interrupt (ERI) requests.
Transmit enable
0 Disable transmit operation.*
1
1 Enable transmit operation.*
2
Receive enable
0 Disable receive operation.*
1
1 Enable receive operation.*
2
Multiprocessor interrupt enable
0 Multiprocessor interrupt disabled (normal receive operations)
[Clearing]
(1) Clear the MPIE bit to 0;
(2) When data MPB=1 is received.
1 Multiprocessor interrupt enabled*
Until data is received that the multiprocessor bit = 1, receive interrupt (RXI) requests, receive error interrupt (ERI)
requests, and SSR RDRF, FER, and ORER flags cannot be set.
Transmit end interrupt enable
0 Transmit end interrupt (TEI) requests disabled*
1 Transmit end interrupt (TEI) requests enabled*
Clock enable 1, 0
Bit 1 Bit 0 Description
CKE1 CKE0
0 0 Async mode Internal clock/SCK pin set as I/O port*
1
Clock sync mode Internal clock/SCK pin set for sync clock output*
1
1 Async mode Internal clock/SCK pin set for clock output*
2
Clock sync mode Internal clock/SCK pin set for sync clock output
1 0 Async mode External clock/SCK pin set for clock input*
3
Clock sync mode External clock/SCK pin set for sync clock input
1 Async mode External clock/SCK pin set for clock input*
3
Clock sync mode External clock/SCK pin set for sync clock input
Notes: 1. Clearing the RE bit has no effect on the RDRF, FER, PER, or ORER flags.
2. Serial receiving starts on detection of the start bit when in async mode, or on detection of sync clock input in clock sync
mode.
Before setting the RE bit to 1, be sure to set the SMR to decide the receive format.
Notes: 1. The SSR TDRE flag is set to 1 (fixed).
2. Transmission starts when, in this state, transmit data is written to TDR and the SSR TDRE flag is cleared to 0. Before
setting the TE bit to 1, be sure to set the SMR to decide the transmit format.
Notes: 1.
2.
3.
Initial value
Clock output at same frequency as bit rate
Clock input at 16 times frequency of bit rate
Note: To clear TXI interrupt requests, clear the TDRE flag to 0 after reading “1”, or clear the
TIE bit to 0.
Note: * To cancel RXI and ERI interrupt requests, either clear the RDRF or FER, PER, or ORER flags after
reading “1”, or clear the RIE bit to 0.
Note: * To cancel a TEI, clear SSR TDRE flag to 0 after reading TDRE=1, then either clear the TEND
flag to 0 or clear the TEIE bit to 0.
Note: * On reception of receive data that includes MPB=0, the receive data is not sent from the RSR to
the RDR, and, on detection of receive errors, the SSR RDRF, FER and ORER flags are not set.
On reception of receive data that includes MPB=1, the SSR MPB bit is set to 1 and the MPIE bit
is automatically cleared to 0. If an RXI or ERI interrupt request occurs (when the SCR TIE or RIE
bit is set to 1), the FER and ORER flags can be set.
Bit
Initial value
R/W
:
:
: