English
Language : 

M38203M4 Datasheet, PDF (304/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPENDIX
3.3 Control registers
UART control register
b7 b6 b5 b4 b3 b2 b1 b0
UART control register (UARTCON) [Address 1B16]
B
Name
Functions
0 Character length
0: 8 bits
selection bit (CHAS) 1: 7 bits
1 Parity enable bit
(PARE)
0: Parity checking disabled
1: Parity checking enabled
2 Parity selection bit
(PARS)
0: Even parity
1: Odd parity
3 Stop bit length
0: 1 stop bit
selection bit (STPS) 1: 2 stop bits
4 P45/TxD P-channel 0: CMOS output (in output mode)
output disable bit 1: N-channel open-drain output
(POFF)
(in output mode)
5 Nothing is allocated. These bits cannot be written
to to and are fixed to “1” at reading.
7
At reset R W
0
0
0
0
0
1 1×
Fig. 3.3.7 Structure of UART control register
Serial I/O2 control register
b7 b6 b5 b4 b3 b2 b1 b0
Serial I/O2 control register (SIO2CON) [Address 1D16]
B
Name
0 Internal
synchronization
clock select bits
1
2
Functions
b2b1b0
0 0 0: f(XIN)/8
0 0 1: f(XIN)/16
0 1 0: f(XIN)/32
0 1 1: f(XIN)/64
1 0 0:
1 0 1: Do not set
1 1 0: f(XIN)/128
1 1 1: f(XIN)/256
3 Serial I/O2 port
selection bit
0: I/O port (P51, P52)
1: SOUT2, SCLK2 signal output
4 SRDY2 output
enable bit
0: I/O port (P53)
1: SRDY2 signal output
5 Transfer direction
selection bit
0: LSB first
1: MSB first
6 Synchronization
clock selection bit
0: External clock
1: Internal clock
7 Nothing is allocated. This bit cannot be written to and
is fixed to “0” at reading.
Fig. 3.3.8 Structure of serial I/O2 control register
3–20
3820 GROUP USER’S MANUAL
At reset R W
0
0
0
0
0
0
0
0 0×