Omega-engineering OME-A826PG Bedienungsanleitung Seite 52

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 60
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 51
OME-A-826PG Software Manual [Win 95/98/NT]
3.6.3 A826_AD_DMA_Start
z Description:
This subroutine will allocate a DMA buffer in the system area, and
programming the gain code and sampling rate. then starting the DMA transfer for
a specific A/D channel.
z Syntax:
WORD A826_AD_DMA_Start(WORD Ch, WORD Gain, WORD c1, Word c2,
int Count, WORD wPassOut[ ] )
z Parameter:
Ch : [Input] the A/D channel.
Gain : [Input] the Gain code
c1,c2 : [Input] the DMA sampling rate is 2M/(c1*c2)
Count : [Input] the desired A/D entries count for DMA transfer.
wPassOut[] : [Output] the debug information.
wPassOut[0] : [Output] 0: successful in starting DMA transfer.
others: fail in starting DMA transfer.
wPassOut[1] : [Output] system DMA buffer ID.
wPassOut[2] : [Output] the I/O port base address.
wPassOut[3] : [Output] the IRQ level for DMA.
wPassOut[4] : [Output] the DMA channel no.
wPassOut[5] : [Output] reserved.
wPassOut[6] : [Output] reserved.
wPassOut[7] : [Output] reserved.
wPassOut[8] : [Output] the last 16 bits of physical address
for DMA buffer in system area.
wPassOut[9] : [Output] the first 16 bits of physical address
for DMA buffer in system area.
z Return Value:
NoError : successful
DmaStartError : failure
Date: Aug-15-2000 Ver: 2.2 Page 50
Seitenansicht 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 58 59 60

Kommentare zu diesen Handbüchern

Keine Kommentare