CDA CD 60 Dokumentacja Strona 43

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 91
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 42
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 43
Syntax
int edt_set_foicount(EdtDev *edt_p, int unit)
Arguments
edt_p
device struct returned from edt_open
unit
unit number of RCI unit
Example
int nextunit;
nextunit=3;
edt_set_foiunit(edt_p, nextunit);
Return
0 on success, -1 on failure
See Also
pdv_serial_write(), edt_reg_write(), edt_reg_read(), pdv_serial_read()
edt_intfc_write
Description
A convenience routine, partly for backward compatability, to access the XILINX interface registers.
The register descriptors used by edt_reg_write() can also be used, since edt_intfc_write masks off the
offset.
Syntax
void edt_intfc_write(EdtDev *edt_p, uint_t offset, uchar_t val)
Arguments
edt_p
device struct returned from edt_open
offset
integer offset into XILINX interface, or register descriptor
val
unsigned character value to set
Example
u_char fnct1=1;
edt_intfc_write(edt_p, PCD_FUNCT, fnct1);
Return
void
See Also
edt_intfc_read(), edt_reg_write(), edt_intfc_write_short()
Przeglądanie stron 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 90 91

Komentarze do niniejszej Instrukcji

Brak uwag