Sensoray 526 Uživatelský manuál Strana 5

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 7
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 4
5
S526_Close
void S526_Close (
BOARD526 *pBoard
);
Parameters
pBoard
pointer to the variable of BOARD526 type.
Notes
This function releases the driver resources allocated by S526_Open. It is necessary to call this
function for every Model 526 board that was opened. The pointer pBoard has to point to the
same variable that was used by S526_Open.
S526_WriteReg
void S526_WriteReg (
unsigned short base,
unsigned short reg,
unsigned short data
);
Parameters
base
base address of the board;
reg
register address;
data
data to write.
Notes
All write accesses are 2 byte, even address.
S526_ReadReg
unsigned short S526_ReadReg (
unsigned short base,
unsigned short reg
);
Parameters
base
base address of the board;
reg
register address;
Returns
The function returns a value read from the addressed register.
Notes
All read accesses are 2 byte, even address.
Zobrazit stránku 4
1 2 3 4 5 6 7

Komentáře k této Příručce

Žádné komentáře