HOST INTERFACE (HI)
5 - 40
PORT B
MOTOROLA
5. Assert HEN to enable the HI
6. When HEN is deasserted, the data can be latched or read as appropriate if the
timing requirements have been observed
7. HREQ will be deasserted if the operation is complete
STEP 1 OF HOST PORT CONFIGURATION
1. ENABLE/DISABLE
HOST RECEIVE DATA FULL INTERRUPT
ENABLE INTERRUPT: BIT 0 = 1
DISABLE INTERRUPT: BIT 0 = 0
2, ENABLE/DISABLE
HOST TRANSMIT DATA EMPTY INTERRUPT
ENABLE INTERRUPT: BIT 1 = 1
DISABLE INTERRUPT: BIT 1 = 0
3. ENABLE/DISABLE
HOST COMMAND PENDING INTERRUPT
ENABLE INTERRUPT: BIT 2 = 1
DISABLE INTERRUPT: BIT 2 = 0
4. SET/CLEAR
HOST FLAG 2 (OPTIONAL)
ENABLE FLAG:
BIT 3 = 1
DISABLE FLAG: BIT 3 = 0
5. SET/CLEAR
HOST FLAG 3 (OPTIONAL)
ENABLE FLAG:
BIT 4 = 1
DISABLE FLAG: BIT 4 = 0
X:$FFE8
HF3
HF2
HCIE HTIE HRIE
7
6
5
4
3
2
1
0
HOST CONTROL REGISTER (HCR)
(READ/WRITE)
6. SELECT PORT B FOR HOST PORT OPERATION:
*
* *
*
*
*
*
*
*
*
*
*
*
*
BC
0
X:$FFE0
15
0
* Reserved; write as zero.
NOTE:
The host flags are general-purpose semaphores. They are not required for host port operation
but may be used in some applications.
*
*
*
Figure 5-20 HI Initialization–DSP Side
BC
1
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
.
..
Содержание DSP56002
Страница 380: ......
Страница 382: ......
Страница 390: ...Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...