m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 297

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
SERIAL I/O
11.4 Clock asynchronous serial I/O (UART) mode
Fig. 11.4.4 Initial setting example for relevant registers when transmitting
11-42
Serial I/O pin control register (Address AC
b7
b7
b7
UART0 transmit/receive control register 0 (Address 34
UART1 transmit/receive control register 0 (Address 3C
UART2 transmit/receive control register 0 (Address B4
0
UART0 transmit/receive mode register (Address 30
UART1 transmit/receive mode register (Address 38
UART2 transmit/receive mode register (Address B0
0
1
b0
b0
b0
CTS/RTS function select bit
CTS/RTS enable bit
CTS
TxD
TxD
CTS
BRG count source select bits
CTS
TxD
Parity enable bit
Sleep select bit
Note: The CLK
Selection of clock synchronous serial
I/O mode
Internal/External clock select bit
1: CTS
Stop bit length select bit
Odd/Even parity select bit
0: CTS
1: CTS
0: CTS
0: CTS
1: CTS
0: Functions as TxD
0: Functions as TxD
0: Functions as TxD
0: CTS/RTS function is enabled.
1: CTS/RTS function is disabled
0: Sleep mode cleared (invalid)
1: Sleep mode selected
0: CTS function selected
1: RTS function selected
0: Parity is disabled.
1: Parity is enabled.
0: Internal clock
1: External clock
0: Odd parity
1: Even parity
1 0 0: UART mode (7 bits)
1 0 1: UART mode (8 bits)
1 1 0: UART mode (9 bits)
0: 1 stop bit
1: 2 stop bits
b1 b0
0 0: f
0 1: f
1 0: f
1 1: f
b2 b1 b0
1
0
2
0
2
1
/P1
/P1
/RTS
/RTS
/P8
/RTS
the CTS
(Refer to “[Precaution for clock
asynchronous serial I/O (UART)
mode].”)
1
2
16
64
512
0
0
1
2
2
7
/RTS
3
3
/RTS
/RTS
/RTS
/RTS
/RTS
16
switch bit
switch bit
switch bit
0
2
1
)
separate select bit
separate select bit
separate select bit
1
0
0
1
2
2
are separated (Note).
i
are used together.
are separated (Note).
are used together.
are used together.
are separated (Note).
/RTS
i
pin cannot be used when
i
0
1
2
separation is selected.
.
.
7905 Group User’s Manual Rev.1.0
.
16
16
16
)
)
)
16
16
16
)
)
)
UART0 transmit interrupt control register (Address 71
UART1 transmit interrupt control register (Address 73
UART2 transmit interrupt control register (Address F1
b7
UART0 transmit buffer register (Addresses 33
UART1 transmit buffer register (Addresses 3B
UART2 transmit buffer register (Addresses B3
b15
UART0 transmit/receive control register 1 (Address 35
UART1 transmit/receive control register 1 (Address 3D
UART2 transmit/receive control register 1 (Address B5
UART0 baud rate register (BRG0) (Address 31
UART1 baud rate register (BRG1) (Address 39
UART2 baud rate register (BRG2) (Address B1
Port P1 direction register (Address 5
Port P8 direction register (Address 14
CTS
b7
b7
b7
(If the
when the CTS
i
/RTS
b7
CTS
Transmission starts.
i
0
are used together.
i
function selected, transmission starts
i
pin’s input level becomes “L.”)
b0
b8
0
0
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.
b7
b0
b0
b0
CTS
Pin CTS
Pin CTS
Pin CTS
Can be set to “00
i
b0
1
/RTS
16
Transmit enable bit
16
i
)
1: Transmission enabled
are separated.
2
0
1
)
16,
16,
16,
Transmit data is set.
32
3A
B2
16
16
16
16
16
16
16
)
)
)
)
16
16
)
)
” to “FF
16
)
)
)
16
16
16
)
)
)
16
b0

Related parts for m37905