Fujitsu MB90895 Series Hardware Manual page 410

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 14 UART0
Table 14.3-3 Functions of Serial Mode Register 0 (SMR0)
bit name
bit0
SOE:
Serial-data output enable
bit
bit1
SCKE:
Serial clock I/O enable
bit
bit2
Reserved: reserved bit
bit3
CS2 to CS0:
to
Clock input source select
bit5
bits
bit6
MD1, MD0:
bit7
Operation mode select
bits
392
Enable or disable output of serial data.
When the bit is set to "0": The pin is set as a general-purpose I/O port.
When the bit is set to "1": The pin is set as a serial data output pin.
The serial clock input/output is switched.
When the bit is set to "0": The pin is set as a general-purpose I/O port or serial
clock input pin.
When the bit is set to "1": The pin is set as a serial clock output pin.
Note:
When using the SCK1 pin as the serial clock input, set the pin to the input
port using the port direction register (DDR1). Also, use the clock input
source select bit to select the external clock (SMR0: CS2 to CS0 = "111
When using the pin as the serial clock output, set the clock input source
select bits to anything other than the external clock (SMR0: CS2 to CS0 =
other than "111
").
B
Always set this bit to "0".
Set the clock input source for the baud rate.
• Select the external clock (SCK1 pin), internal timer (16-bit reload timer), or
dedicated baud rate generator as the clock input source.
• Set the baud rate when selecting the baud rate generator.
Select the UART0 operation mode.
Note:
In operation mode 1, the device can be used only as the master for master/
slave communication.1)In operation mode 1, the address/data bit as bit 9
cannot be received, so the device cannot be used as the slave.
In operation mode 1, set the parity addition enable bit to no parity (SCR0:
PEN = 0) as the parity check function cannot be used.2)
Function
").
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents