10/31/95
SECTION 1: OVERVIEW
UM Rev.1.0
xiv
MC68341 USER’S MANUAL
MOTOROLA
TABLE OF CONTENTS (Continued)
Paragraph
Page
Number
Title
Number
7.3.3
Looping Modes ................................................................................ 7-14
7.3.3.1
Automatic Echo Mode.................................................................. 7-14
7.3.3.2
Local Loopback Mode.................................................................. 7-14
7.3.3.3
Remote Loopback Mode .............................................................. 7-14
7.3.4
Multidrop Mode ................................................................................ 7-15
7.3.5
Bus Operation ................................................................................. 7-17
7.3.5.1
Read Cycles ................................................................................ 7-17
7.3.5.2
Write Cycles................................................................................. 7-17
7.3.5.3
Interrupt Acknowledge Cycles ..................................................... 7-17
7.4
Register Description and Programming .............................................. 7-18
7.4.1
Register Description ........................................................................ 7-18
7.4.1.1
Auxiliary Control Register (ACR) ................................................. 7-20
7.4.1.2
Clock-Select Register (CSR) ....................................................... 7-20
7.4.1.3
Command Register (CR) ............................................................. 7-22
7.4.1.4
Input Port Change Register (IPCR) ............................................. 7-25
7.4.1.5
Input Port Register (IP) ................................................................ 7-26
7.4.1.6
Interrupt Enable Register (IER) ................................................... 7-27
7.4.1.7
Interrupt Level Register (ILR) ...................................................... 7-28
7.4.1.8
Interrupt Status Register (ISR)..................................................... 7-28
7.4.1.9
Interrupt Vector Register (IVR) .................................................... 7-30
7.4.1.10
Module Configuration Register (MCR) ......................................... 7-31
7.4.1.11
Mode Register 1 (MR1) ............................................................... 7-33
7.4.1.12
Mode Register 2 (MR2) ............................................................... 7-35
7.4.1.13
Output Port Data Register (OP) ................................................... 7-37
7.4.1.14
Outport Port Control Register (OPCR)......................................... 7-38
7.4.1.15
Receiver Buffer (RB) .................................................................... 7-39
7.4.1.16
Status Register (SR) .................................................................... 7-39
7.4.1.17
Transmitter Buffer (TB) ................................................................ 7-41
7.4.2
Programming ................................................................................... 7-42
7.4.2.1
Serial Module Initialization. .......................................................... 7-42
7.4.2.2
I/O Driver Example....................................................................... 7-42
7.4.2.3
Interrupt Handling ........................................................................ 7-42
7.5
Serial Module Initialization Sequence ................................................ 7-48
7.5.1
Serial Module Configuration ............................................................ 7-48
7.5.2
Serial Module Example Configuration Code ................................... 7-50
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
..
.