CDA CD 60 Dokumentacja Strona 44

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 91
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 43
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 44
edt_intfc_read
Description
A convenience routine, partly for backward compatability, to access the XILINX interface registers.
The register descriptors used be edt_reg_write() can also be used, since edt_intfc_read masks off the
offset.
Syntax
u_char
edt_intfc_read(EdtDev *edt_p, uint_t offset)
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 rfnct=edt_intfc_read(edt_p, PCD_FUNCT);
Return
void
See Also
edt_intfc_write(), edt_reg_read(), edt_intfc_read_short()
edt_intfc_write_short
Description
A convenience routine, partly for backward compatability, to access the XILINX interface registers.
The register descriptors used be edt_reg_write() can also be used, since edt_intfc_write_short masks off
the offset.
Syntax
void edt_intfc_write_short(EdtDev *edt_p, uint_t offset, u_short 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_short width=1024;
edt_intfc_write_short(edt_p, CAM_WIDTH, width);
Return
void
See Also
edt_intfc_write(), edt_reg_write()
Przeglądanie stron 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 90 91

Komentarze do niniejszej Instrukcji

Brak uwag