Sensoray 526 User Manual
Page 5

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.