![](http://datasheet.mmic.net.cn/30000/M37905M4C-XXXFP_datasheet_2360025/M37905M4C-XXXFP_280.png)
SERIAL I/O
7905 Group User’s Manual Rev.1.0
11-25
11.3 Clock synchronous serial I/O mode
Fig. 11.3.2 Initial setting example for relevant registers when transmitting
0
b7
b0
b7
b0
CTS/RTS function select bit
0: CTS function selected
1: RTS function selected
0 0: f2
0 1: f16
1 0: f64
1 1: f512
b1 b0
Transmission starts.
(In the case of selecting the CTS function, transmission
starts when the CTS0 pin’s input level is “L.”)
UART0 transmit buffer register (Address 3216)
UART1 transmit buffer register (Address 3A16)
UART2 transmit buffer register (Address B216)
b7
b0
Transmit data is set.
1
UART0 transmit/receive control register 1 (Address 3516)
UART1 transmit/receive control register 1 (Address 3D16)
UART2 transmit/receive control register 1 (Address B516)
b7
b0
Transmit enable bit
1: Transmission is enabled.
UART0 baud rate register (BRG0) (Address 3116)
UART1 baud rate register (BRG1) (Address 3916)
UART2 baud rate register (BRG2) (Address B116)
b7
b0
Can be set to “0016” to “FF16.”
UART0 transmit interrupt control register (Address 7116)
UART1 transmit interrupt control register (Address 7316)
UART2 transmit interrupt control register (Address F116)
b7
b0
Interrupt priority level select bits
When using interrupts, set these bits to
one of levels 1 to 7.
When disabling interrupts, set these bits
to level 0.
CTS/RTS enable bit
0: CTS/RTS function is enabled.
1: CTS/RTS function is disabled.
CLK polarity select bit
0: At the falling edge of the transfer
clock, transmit data is output
1: At the rising edge of the transfer
clock, transmit data is output
Transfer format select bit
0: LSB first
1: MSB first
Serial I/O pin control register (Address AC16)
16
b7
b0
CTS0/RTS0 separate select bit
0: CTS0 /RTS0 are used together (Note)
Note: In the clock synchronous serial I/O
mode, CTSi/RTSi separation cannot
be selected. (Refer to section “[Pre-
cautions for clock synchronous
serial I/O mode].”)
When external clock is selected
When internal clock is selected
1
0
CTS1/RTS1 separate select bit
0: CTS1/RTS1 are used together (Note)
TxD0/P13 switch bit
0: Functions as TxD0.
TxD1/P17 switch bit
0: Functions as TxD1.
TxD2/P83 switch bit
0: Functions as TxD2.
CTS2/RTS2 separate select bit
0: CTS2/RTS2 are used together (Note)
UART0 transmit/receive mode register (Address 3016)
UART1 transmit/receive mode register (Address 3816)
UART2 transmit/receive mode register (Address B016)
: It may be either “0” or “1.”
0: Internal clock
1: External clock
Internal/External clock select bit
Selection of clock synchronous serial
I/O mode
UART0 transmit/receive control register 0 (Address 3416)
UART1 transmit/receive control register 0 (Address 3C16)
UART2 transmit/receive control register 0 (Address B416)
BRG count source select bits