Pciread32, Pciwrite32, Pciwrite16 – Sundance SMT6025 v.2.9 User Manual
Page 38: Pciwrite8, Pcivirtualaddr, Dsp interrupt, 19 dsp interrupt
Version 2.9
Page 38 of 45
SMT6025 User Manual
For a detailed description of the PCI bridge chip registers, refer to the user
manual for the bridge chip.
The number at the end of the following function names indicates the number of
bits being read or written.
18.1 PciRead32
Read 32 bits from the PCI register specified.
Prototype
DWORD IFHw::PciRead32( DWORD dwReg)
18.2 PciWrite32
Write 32 bits to the PCI register specified.
Prototype
void IFHw::PciWrite32(DWORD dwReg, DWORD dwValue )
18.3 PciWrite16
Write 16 bits to the PCI register specified.
Prototype
void IFHw::PciWrite16( DWORD dwReg, WORD wValue )
18.4 PciWrite8
Write 8 bits to the PCI register specified.
Prototype
void IFHw::PciWrite8( DWORD dwReg, BYTE cValue )
18.5 PciVirtualAddr
Return the virtual memory address for the Base Address Region specified.
Prototype
void IFHw::PciVirtualAddr( UINT nBar, void *&pVirtAddr )
19 DSP interrupt
The DSP (C40) interrupt is a mechanism that was inherited from a previous
generation of carrier boards and is still supported in the current generation. The
DSP interrupt allows the DSP to interrupt the host.
The DSP can generate a DSP interrupt to the host by toggling the IIOF1 line.
User Manual (QCF42); Version 2.9, 22/02/02; © Sundance Multiprocessor Technology Ltd. 2002