CDA CD 60 Specifiche Pagina 34

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 91
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 33
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 34
edt_get_rtimeout
Description
Gets the current read timeout value: the number of milliseconds to wait for DMA reads to complete
before returning.
Syntax
#include "edtinc.h"
int edt_get_rtimeout(EdtDev *edt_p);
Arguments
edt_p device handle returned from edt_open or edt_open_channel
Return
The number of milliseconds in the current read timeout period.
edt_set_rtimeout
Description
Sets the number of milliseconds for data read calls, such as edt_read(), to wait for DMA to complete
before returning. A value of 0 causes the I/O operation to wait forever—that is, to block on a read.
Edt_set_rtimeout affects edt_wait_for_buffers (see page XX) and edt_read (see page XX).
Syntax
#include "edtinc.h"
int edt_set_rtimeout(EdtDev *edt_p, int value);
Arguments
edt_p
device handle returned from edt_open or edt_open_channel
value
The number of milliseconds in the timeout period.
Return
0 on success; –1 on error. If an error occurs, call edt_perror() to get the system error message.
edt_get_wtimeout
Description
Gets the current write timeout value: the number of milliseconds to wait for DMA writes to complete
before returning.
Syntax
#include "edtinc.h"
int edt_get_wtimeout(EdtDev *edt_p);
Arguments
edt_p device handle returned from edt_open or edt_open_channel
Return
The number of milliseconds in the current write timeout period.
Vedere la pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 90 91

Commenti su questo manuale

Nessun commento