Rev. 5.00, 12/03, page 998 of 1088
SCR0—Serial Control Register 0
H'FF7A
Smart Card Interface 0
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
SMCR
SMIF
0
1
1
1
1
1
1
0
0
1
1
1
1
0
0
0
0
1
1
0
1
0
1
0
1
SMR
GM
CKE1
CKE0
See SCI specification
SCK pin function
Clock Enable
SCR setting
0
1
Transmit-end interrupt (TEI) request disabled
*
Transmit-end interrupt (TEI) request enabled
*
Transmit End Interrupt Enable
0
Multiprocessor interrupts disabled
[Clearing conditions]
· When the MPIE bit is cleared to 0
· When data with MPB = 1 is received
Multiprocessor Interrupt Enable
0
1
Reception disabled
*
1
Reception enabled
*
2
Receive Enable
0
1
Transmission disabled
*
1
Transmission enabled
*
2
Transmit Enable
0
Receive-data-full interrupt (RXI) request and receive-error interrupt (ERI) request disabled
*
Receive Interrupt Enable
0
1
Transmit-data-empty interrupt (TXI) request disabled
*
Transmit-data-empty interrupt (TXI) request enabled
Transmit Interrupt Enable
Bit
Initial value
Read/Write
:
:
:
Multiprocessor interrupts enabled
*
Receive-data-full interrupt (RXI) requests, receive-error interrupt (ERI) requests, and setting
of the RDRF, FER, and ORER flags in SSR are disabled until data with the multiprocessor
bit set to 1 is received
1
1
Receive-data-full interrupt (RXI) request and receive-error interrupt (ERI) request enabled
Operates as port I/O pin
Clock output as SCK output pin
Fixed-low output as SCK output pin
Clock output as SCK output pin
Fixed-high output as SCK output pin
Clock output as SCK output pin
Note:
*
TEI clearing can be performed by reading 1 from the TDRE flag in SSR, then
clearing it to 0 and clearing the TEND flag to 0, or by clearing the TEIE bit to 0.
Note:
*
When receive data including MPB = 0 is received, receive data transfer from RSR to RDR,
receive error detection, and setting of the RDRF, FER, and ORER flags in SSR, is not
performed. When receive data including MPB = 1 is received, the MPB bit in SSR is set to
1, the MPIE bit is cleared to 0 automatically, and generation of RXI and ERI interrupts
(when the TIE and RIE bits in SCR are set to 1) and FER and ORER flag setting is enabled.
Notes: 1. Clearing the RE bit to 0 does not affect the RDRF, FER, PER, and ORER flags, which retain
their states.
2. Serial reception is started in this state when a start bit is detected in asynchronous mode or
serial clock input is detected in synchronous mode.
SMR setting must be performed to decide the receive format before setting the RE bit to 1.
Notes: 1. The TDRE flag in SSR is fixed at 1.
2. In this state, serial transmission is started when transmit data is written to TDR and the
TDRE flag in SSR is cleared to 0.
SMR setting must be performed to decide the transmit format before setting the TE bit to 1.
Note:
*
RXI and ERI interrupt requests can be cleared by reading 1 from the RDRF, FER, PER, or
ORER flag, then clearing the flag to 0, or by clearing the RIE bit to 0.
Note:
*
TXI interrupt requests can be cleared by reading 1 from the
TDRE flag, then clearing it to 0, or by clearing the TIE bit to 0.
Содержание H8S/2318 series
Страница 2: ......
Страница 6: ...Rev 5 00 12 03 page vi of xxx...
Страница 12: ...Rev 5 00 12 03 page xii of xxx...
Страница 30: ...Rev 5 00 12 03 page xxx of xxx...
Страница 54: ...Rev 5 00 12 03 page 24 of 1088...
Страница 98: ...Rev 5 00 12 03 page 68 of 1088...
Страница 128: ...Rev 5 00 12 03 page 98 of 1088...
Страница 138: ...Rev 5 00 12 03 page 108 of 1088...
Страница 168: ...Rev 5 00 12 03 page 138 of 1088...
Страница 212: ...Rev 5 00 12 03 page 182 of 1088...
Страница 324: ...Rev 5 00 12 03 page 294 of 1088...
Страница 436: ...Rev 5 00 12 03 page 406 of 1088...
Страница 546: ...Rev 5 00 12 03 page 516 of 1088...
Страница 580: ...Rev 5 00 12 03 page 550 of 1088...
Страница 822: ...Rev 5 00 12 03 page 792 of 1088...
Страница 876: ...Rev 5 00 12 03 page 846 of 1088...
Страница 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Страница 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...