
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 17
Routine Description
edt_set_firstflush Tells whether and when to flush FIFOs before DMA.
edt_flush_fifo Flushes the EDT Product FIFOs.
edt_get_goodbits Returns the number of bits from the remote device.
Control
edt_set_event_func Defines a function to call when an event occurs.
edt_remove_event_func Removes a previously set event function.
edt_reg_read Reads the contents of the specified EDT Product register.
edt_reg_write Writes a value to the specified EDT Product register.
edt_reg_and ANDs the value provided with the value of the specified EDT
Product register.
edt_reg_or ORs the value provided with the value of the specified EDT Product
register.
edt_get_foicount Returns the number of RCI modules connected to the EDT FOI
(fiber optic interface) board.
edt_set_foiunit Sets which RCI unit to address with subsequent serial and register
read/write functions.
edt_intfc_write A convenience routine, partly for backward compatability, to access
the XILINX interface registers.
edt_intfc_write_short A convenience routine, partly for backward compatability, to access
the XILINX interface registers.
edt_intfc_write_32 A convenience routine, partly for backward compatability, to access
the XILINX interface registers.
Utility
edt_msleep Sleep for the specified number of microseconds.
edt_alloc Allocate page-aligned memory in a system-independent way.
edt_free Free the memory allocated with edt_alloc.
edt_perror Prints a system error message in case of error.
edt_errno Returns an operating system-dependent error number.
edt_access Determines file access independent of operating system.
edt_get_bitpath Obtains pathname to the currently loaded interface bitfile from the
driver.
edt_open
Description
Opens the specified EDT Product and sets up the device handle.
Syntax
#include "edtinc.h"
EdtDev *edt_open(char *devname, int unit) ;
Comentarios a estos manuales