Motorola MC68340 ユーザーズマニュアル

ページ / 441
MOTOROLA
MC68340 USER’S MANUAL
7- 49
* MODE REGISTER 2
MOVE.B
#$07,MR2A(A0)
Normal, 1 stop bit
* SET UP BAUD RATE FOR PORT IN CLOCK SELECT REGISTER
MOVE.B
#$BB,CSRA(A0)
Set 9600 baud for RX and TX
* SET 
RTSA
 ACTIVE
MOVE.B
#$01,OP_BS(A0)
set 
RTSA
/OP0 output
* ENABLE PORT
MOVE.B
#$45,CRA(A0)
Reset error status, enable RX & TX
***************************************************************************
END
***************************************************************************
 
   
  
F
re
e
sc
a
le
 S
e
m
ic
o
n
d
u
c
to
r,
 I
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 
Freescale Semiconductor, Inc.
For More Information On This Product,
   Go to: www.freescale.com
n
c
.
..