CDA CD 60 Especificaciones Pagina 40

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 91
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 39
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 40
EDT_EVENT_PCD_STAT2 Interrupt occurred on Status 2
line
PCI CD
EDT_EVENT_PCD_STAT3 Interrupt occurred on Status 3
line
PCI CD
EDT_EVENT_PCD_STAT4 Interrupt occurred on Status 4
line
PCI CD
EDT_EVENT_ENDDMA DMA has completed ALL
func
The function you’ve defined to call when the event occurs.
data
Pointer to data block (if any) to send to the function as an argument; usually
edt_p.
continue
Flag to enable or disable continued event notification. A value of 0 causes
an implied edt_remove_event_func as the event is triggered.
Return
0 on success; –1 on error. If an error occurs, call edt_perror() to get the system error message.
edt_remove_event_func
Description
Removes an event function previously set with edt_set_event_func.
Note
This routine is implemented on PCI Bus platforms only.
Syntax
#include "edtinc.h"
int edt_remove_event_func(EdtDev *edt_p, int event);
Arguments
edt_p
device handle returned from edt_open or edt_open_channel.
event
The event that causes the function to be called. Valid events are as listed in
edt_set_event_func on page 39.
Return
0 on success; –1 on error. If an error occurs, call edt_perror() to get the system error message.
edt_reg_read
Description
Reads the specified register and returns its value. Use this routine instead of using ioctls.
Syntax
#include "edtinc.h"
uint edt_reg_read(EdtDev *edt_p, uint address);
Arguments
edt_p
device handle returned from edt_open or edt_open_channel
address
The name of the register to read. Use the names provided in the register
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 90 91

Comentarios a estos manuales

Sin comentarios