CDA CD 60 Spécifications Page 46

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 91
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 45
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 46
edt_intfc_read_32
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_32 masks off
the offset.
Syntax
uint_t
edt_intfc_read_32(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_int r_actkbs=edt_intfc_read_32(edt_p, EDT_ACT_KBS);
Return
void
edt_msleep
Description
Causes the process to sleep for the specified number of microseconds.
Syntax
#include "edtinc.h"
int edt_msleep(u_int usecs) ;
Arguments
usecs
The number of microseconds for the process to sleep.
Return
0 on success; –1 on error. If an error occurs, call edt_perror() to get the system error message.
edt_alloc
Description
Convenience routine to allocate memory in a system-independent way. The buffer returned is page
aligned. Uses VirtualAlloc on Windows NT systems, valloc on UNIX-based systems.
Syntax
#include "edtinc.h"
int
edt_alloc(int nbytes)
Vue de la page 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 90 91

Commentaires sur ces manuels

Pas de commentaire