Level 0 APIs


Functions

N957_DLL_API N957_API N957_WriteReg (int32_t handle, N957_UINT16 reg_addr, N957_UINT16 data)
 Writes data to board's register.
N957_DLL_API N957_API N957_ReadReg (int32_t handle, N957_UINT16 reg_addr, N957_UINT16 *data)
 Reads data from board's register.
N957_DLL_API N957_API N957_SetRegBitMsk (int32_t handle, N957_UINT16 reg_addr, N957_UINT16 bitmsk)
 Sets a mask of bits into board's register.
N957_DLL_API N957_API N957_ClearRegBitMsk (int32_t handle, N957_UINT16 reg_addr, N957_UINT16 bitmsk)
 Clears a mask of bits into board's register.

Function Documentation

N957_API N957_ClearRegBitMsk ( int32_t  handle,
N957_UINT16  reg_addr,
N957_UINT16  bitmsk 
)

Clears a mask of bits into board's register.

Parameters:
handle board's handle
reg_addr register address
bitmsk,: mask of bits to clear
Returns:
N957Success: procedure execution ok : error code otherwise
See also:
N957ErrorCodes
Note:
handle must be a valid one (as returned from N957_Init) and register must have R/W properties

N957_API N957_ReadReg ( int32_t  handle,
N957_UINT16  reg_addr,
N957_UINT16 data 
)

Reads data from board's register.

Parameters:
handle board's handle
reg_addr register address
data data read
Returns:
N957Success: read ok : error code otherwise
See also:
N957ErrorCodes
Note:
handle must be a valid one (as returned from N957_Init)

N957_API N957_SetRegBitMsk ( int32_t  handle,
N957_UINT16  reg_addr,
N957_UINT16  bitmsk 
)

Sets a mask of bits into board's register.

Parameters:
handle board's handle
reg_addr register address
bitmsk,: mask of bits to set
Returns:
N957Success: procedure execution ok : error code otherwise
See also:
N957ErrorCodes
Note:
handle must be a valid one (as returned from N957_Init) and register must have R/W properties

N957_API N957_WriteReg ( int32_t  handle,
N957_UINT16  reg_addr,
N957_UINT16  data 
)

Writes data to board's register.

Parameters:
handle board's handle
reg_addr register address
data data to write
Returns:
N957Success: write ok : error code otherwise
See also:
N957ErrorCodes
Note:
handle must be a valid one (as returned from N957_Init)


Generated on Mon Jun 30 09:34:03 2008 for CAEN N957 Lib by  doxygen 1.5.6