beautypg.com

2 serial mode register 04 (smr04) – FUJITSU MB91460 SERIES FR60 User Manual

Page 640

background image

624

Chapter 32 USART (LIN / FIFO)

4.USART Registers

4.2 Serial Mode Register 04 (SMR04)

This register selects an operation mode and baud rate clock and specifies whether to enable output of serial
data and clocks to the corresponding pin.

Figure 4-2 Configuration of the Serial Mode register 04 (SMR04)

7

6

5

4

3

2

1

0

Initial value

0 0 0 0 0 0 0 0

B

R/W R/W R/W R/W

W

W

R/W R/W

bit0

SOE

Serial Output enable

0

disable SOT04 pin (high Z)

1

enable SOT04 pin (TxData)

bit1

SCKE

Serial Clock Output enable

0

External Serial Clock Input

1

Internal Serial Clock Output

bit2

UPCL

USART programmable clear (Software Reset)

write

read

0

ignored

always 0

1

Reset USART

bit3

REST

Restart dedicated Reload Counter

write

read

0

ignored

always 0

1

Restart Counter

bit4

EXT

External Serial Clock Source enable

0

Use internal Baud Rate Generator (Reload Counter)

1

Use external Serial Clock Source

bit5

OTO

One-to-one external clock Input enable

0

Use ext. Clock with Baud Rate Generator (Reload C.)

1

Use external Clock as is

bit6

bit7

MD0

MD1

Operation Mode Setting

0

0

Mode 0: Asynchronous normal

1

0

Mode 1: Asynchronous Multiprocessor

0

1

Mode 2: Synchronous

1

1

Mode 3: Asynchronous LIN

R/W

:

Readable and writable

W

:

Write only

:

Initial value