參數(shù)資料
型號: ZR36067
廠商: Electronic Theatre Controls, Inc.
英文描述: AV PCI CONTROLLER
中文描述: 影音PCI控制器
文件頁數(shù): 15/48頁
文件大?。?/td> 580K
代理商: ZR36067
15
AV PCI CONTROLLER
5.4 PostOffice Handshaking Protocol
Reading data from or writing data to any of the ZR36067 guests
using the PostOffice mechanism requires the host software to
follow the handshaking protocol described below. The main idea
is that the host has to poll the PostOffice request pending bit in
order to confirm the availability of the GuestBus and verify the
validity of the data contained in the PostOffice data byte. In
general, host accesses to the PostOffice register may change
the PostOffice pending bit, as explained below. Thus, the host
software must ensure that accesses to the PostOffice register
are governed by a central routine. For example, independent
accesses to the PostOffice register both from an interrupt
service routine and the main processor task(s), or from more
than one task in a multitasking environment, might cause a
deadlock, unless explicit protection measures are taken.
5.4.1
Host Writes to a Guest Device
The host reads the PostOffice register, and checks the Post-
Office pending bit. If this bit is ‘1’, the write cycle cannot be
executed now, because the GuestBus master is busy exe-
cuting a previous PostOffice read or write request. Once this
bit is ‘0’, the write request can be made.
The host writes a full doubleword to the PostOffice register,
containing the data byte to be sent to the guest, the guest’s
identity (0,...,7), the specific guest register (0,...,7), and an
indication that this is a write request (direction bit = 1). As a
result of writing to the PostOffice data byte, the PostOffice
pending bit is set to ‘1’.
The ZR36067 completes the current code-write cycle, if one
is being executed, and, before executing the next code-write
cycle (if one is needed), it executes the pending PostOffice
request. At the completion of the GuestBus write cycle it
clears the request pending bit.
The host may read the PostOffice register, to verify that the
pending bit is ‘0’, meaning that the write request has been
completed.
Note that in multiple (back-to-back) PostOffice operations
the host has to poll the request pending bit only once be-
tween two requests, since reading this bit zero indicates
both that the previous request has been completed and that
the next request can be made.
5.4.2
Host Reads from a Guest Device
The host reads the PostOffice register, and checks the Post-
Office pending bit. If this bit is ‘1’, the read cycle cannot be
executed now, because the GuestBus master is busy exe-
cuting a previous PostOffice read or write request. Once this
bit is ‘0’, the read request can be made.
PCI CLK
Example 2
GCS0
1
2
3
4
5
6
7
8
9
10
11
12
13
GADR[2:0]
0x0
0x5
GWR
GRD
GWS
GDAT[7:0]
PCI CLK
GCS2
1
2
3
4
5
6
7
8
9
10
11
12
13
GADR[2:0]
0x1
GWR
GRD
GWS
GDAT[7:0]
Example 1
Sampling Points
Figure 4. Two Examples of GuestBus Cycles
Data valid from ZR36067
Data valid from Guest
相關(guān)PDF資料
PDF描述
ZR36067PQC AV PCI CONTROLLER
ZR36067 PCI Adapter Intended for Multimedia Applications on PCI Systems(PCI(外圍部件互連)適配器(用于PCI系統(tǒng)的多媒體))
ZR36215 SupraAV SVCD Decoder(SupraAV 超級VCD解碼器)
ZR36419 Digital Camera Processor(數(shù)字攝影處理器)
ZR36420 Digital Camera Processor(數(shù)字攝影處理器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ZR36067PQC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:AV PCI CONTROLLER
ZR36067PQC-LV 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Peripheral IC
ZR36100PQC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Audio/Video Decoder for MPEG
ZR36110PQC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Audio/Video Decoder for MPEG
ZR36120PQC 制造商:未知廠家 制造商全稱:未知廠家 功能描述: