English
Language : 

M38203M4 Datasheet, PDF (211/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.5 Serial I/O1
sBRG count source selection bit (bit 0)
This bit selects a count source to be input to the BRG. In the “0” state, an undivided XIN input signal
is input to the BRG. In the “1” state, an XIN input signal divided by 4 is input to the BRG.
sSerial I/O1 synchronization clock selection bit (bit 1)
This bit selects a synchronizing clock to be used in the serial I/O1.
qClock synchronous mode
When this bit is set to “0,” a BRG output divided by 4 becomes a shift clock.
In the “1” state, an external clock (P46/SCLK1 pin input) becomes a shift clock as it is.
qUART mode
In the “0” state, a BRG output divided by 16 becomes a shift clock. In the “1” state, an external clock
(P46/SCLK1 pin input) divided by 16 becomes a shift clock.
sSRDY1 output enable bit (bit 2)
When the SRDY1 function is used in the clock synchronous mode, set this bit to “1.” In the “0” state,
the P47/SRDY1 pin functions as an I/O port P47.
In the UART mode, the value of this bit is invalid, so that the P47/SRDY1 pin functions as an I/O port
P47.
sTransmit interrupt source selection bit (bit 3)
This bit determines a source which generates a serial I/O1 transmit interrupt request. In the “0” state,
a serial I/O1 transmit interrupt request occurs at the time when the values of the transmit buffer
register are transferred to the transmit shift register.
In the “1” state, a serial I/O1 transmit interrupt request occurs at the time when the shift operation of
the transmit shift register is completed.
sTransmit enable bit (bit 4)
This bit controls a transmit operation. This bit controls as shown in Table 2.5.3 only when the serial
I/O1 enable bit is “1” (serial I/O1 enabled). When the serial I/O1 enable bit is “0” (serial I/O1 disabled),
this bit is invalid.
Table 2.5.3 Control contents of transmit enable bit
Transmit enable bit
P45/TXD pin function
Transmit buffer empty flag V1
Transmit shift register
shift completion flagV2
0
Port P45
Set to “0”
1
Data transmit pin TXD
V1: Bit 0 of serial I/O1 status register
V2: Bit 2 of serial I/O1 status register
Flag function is valid
3820 GROUP USER’S MANUAL
2–125