
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 26
Arguments
edt_p
device struct returned from edt_open
nSkipped
pointer to an integer which will be filled in with number of buffers skipped, if
any.
Syntax
unsigned char *edt_last_buffer(EdtDev *edt_p, int *nSkipped)
Example
int skipped_bufs;
u_char *buf;
buf=edt_last_buffer(edt_p, &skipped_bufs);
Return
Address of the image.
See Also
edt_wait_for_buffers, edt_last_buffer_timed
edt_last_buffer_timed
Description
Like edt_last_buffer but also returns the time at which the DMA was complete on this buffer. “timep”
should point to an array of unsigned integers which will be filled in with the seconds and microseconds
of the time the buffer was finished being transferred.
Arguments
edt_p
device struct returned from edt_open
timep
pointer to an unsigned integer array
Syntax
unsigned char *edt_last_buffer_timed(EdtDev *edt_p, u_int *timep)
Example
u_int timestamp [2];
u_char *buf;
buf=edt_last_buffer_timed(edt_p, timestamp);
Return
Address of the image.
See Also
edt_wait_for_buffers(), edt_last_buffer(), edt_wait_buffers_timed
Comentários a estes Manuais