English
Language : 

SH7040 Datasheet, PDF (516/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
• Bit 2—Transmit-End Interrupt Enable (TEIE): Enables or disables the transmit-end interrupt
(TEI) requested if TDR does not contain valid transmit data when the MSB is transmitted.
Bit 2: TEIE
Description
0
Transmit-end interrupt (TEI) requests are disabled.* (initial value)
1
Transmit-end interrupt (TEI) requests are enabled.*
Note: * The TEI request can be cleared by reading the TDRE bit in the serial status register (SSR)
after it has been set to 1, then clearing TDRE to 0 and clearing the transmit end (TEND)
bit to 0; or by clearing the TEIE bit to 0.
• Bits 1 and 0—Clock Enable 1 and 0 (CKE1 and CKE0): These bits select the SCI clock source
and enable or disable clock output from the SCK pin. Depending on the combination of CKE1
and CKE0, the SCK pin can be used for serial clock output, or serial clock input. Select the
SCK pin function by using the pin function controller (PFC).
The CKE0 setting is valid only in the asynchronous mode, and only when the SCI is internally
clocked (CKE1 = 0). The CKE0 setting is ignored in the clock synchronous mode, or when an
external clock source is selected (CKE1 = 1). Select the SCI operating mode in the serial mode
register (SMR) before setting CKE1 and CKE0. For further details on selection of the SCI
clock source, see table 14.9 in section 14.3, Operation.
Bit 1: Bit 0:
CKE1 CKE0 Description*1
0
0
Asynchronous mode
Internal clock, SCK pin used for input pin (input signal
is ignored) or output pin (output level is undefined)*2
Clock synchronous mode
Internal clock, SCK pin used for synchronous clock
output*2
0
1
Asynchronous mode
Internal clock, SCK pin used for clock output*3
Clock synchronous mode
Internal clock, SCK pin used for synchronous clock
output
1
0
Asynchronous mode
External clock, SCK pin used for clock input*4
Clock synchronous mode
External clock, SCK pin used for synchronous clock
input
1
1
Asynchronous mode
External clock, SCK pin used for clock input*4
Clock synchronous mode
External clock, SCK pin used for synchronous clock
input
Notes: *1 The SCK pin is multiplexed with other functions. Use the pin function controller (PFC) to
select the SCK function for this pin, as well as the I/O direction.
*2 Initial value.
*3 The output clock frequency is the same as the bit rate.
*4 The input clock frequency is 16 times the bit rate.
478