Fujitsu MB90335 Series Hardware Manual page 417

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 18 UART
18.4 Register of UART
Table 18.4-2 Functional Description of Each Bit in Serial Mode Register 0, 1 (SMR0, SMR1)
Bit name
MD1, MD0:
bit7,
Operating mode
bit6
selection bits
SCKL:
bit5
Serial clock
output level set bit
M2L2, M2L1,
bit4
M2L0:
to
Synchronous
bit2
mode transfer
numerical set bits
SCKE:
Serial Clock
bit1
Input/Output
enable bit
SOE:
bit0
Serial data output
enable bit
396
Set Operating mode
Notes:
- In operation mode 1, the device can be used only as the master for master/slave
communication. In operation mode 1, the address/data bit as bit9 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, SCR1: PEN = 0)
as the parity check function cannot be used.
• When communication is operated in the clock synchronous mode, serial clock output level
is set to the non-operating level.
• When set to "0": Output of serial clock is "L" level.
• When set to "1": Output of serial clock is "H" level.
• Specify the number of bits transferred in the synchronous communication mode.
• It is invalid at the asynchronous communication mode.
• When set to "000
": Specify as 8-bit transmission.
B
• When set to "001
": Specify as 1-bit transmission.
B
• When set to "010
": Specify as 2-bit transmission.
B
• When set to "011
": Specify as 3-bit transmission.
B
• When set to "100
": Specify as 4-bit transmission.
B
• When set to "101
": Specify as 5-bit transmission.
B
• When set to "110
": Specify as 6-bit transmission.
B
• When set to "111
": Specify as 7-bit transmission.
B
• Switch between input and output of the serial clock.
• When the bit is set to "0":The pin is set as a general-purpose I/O port or serial clock input
• When the bit is set to "1":The pin is set as a serial clock output pin.
Notes:
- When using the SCK0, SCK1 pin as the serial clock input (SCKE=0), set the pin to the
input port using the port direction register (DDR). Also, use the clock input source select
bit to select the external clock (UTCR0, UTCR1: CKS=1).
- When using this as serial clock output, set the clock input source selection bit to the
dedicated baud rate generator (UTCR0, UTCR1: CKS=0).
- When SCK0 or SCK1 pins are set to serial clock output, they function as serial clock output
pins, regardless of the settings of the generic input-output port.
• 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.
• When SOT0 or SOT1 pins are set to serial data output, they function as serial clock output
pins, regardless of the settings of the generic input-output port.
FUJITSU MICROELECTRONICS LIMITED
Functions
pin.
MB90335 Series
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents