Interphase Tech 4538 MP3 Player User Manual


 
Controlling the PCI-to-Local Interrupt
88 Interphase Corporation
For a normal use, the card should be reset by the PCI host (if needed) using only the
SRESET signal. The HRESET signal is used for special cases, such as FLASH memory
re-programming through PCI. Example 4-1 is an example of C code routines to reset and
run the board from the PCI side.
Example 4-1. Reset and Run Command Routines
Controlling the PCI-to-Local Interrupt
The PowerSpan Interrupt pin INT0 is used to control the PCI-to-Local interrupt (renamed
ATN in the software examples: Attention to the PowerQUICC II ). It is associated by
convention with doorbell register 2. The PowerSpan Interrupt Map registers must have
been previously correctly initialized. This interrupt controls the IRQ1/DP1/EXT_BG2
input pin of the PowerQUICC II.
Example 4-2 is an example of C code routines to set and reset the PCI-to-Local interrupt
and to read the status of this interrupt from the PCI side.
Example 4-2. PCI to Local Interrupt Routines (From the PCI Side)