ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data
Prototype
ADMXRC_STATUS ADMXRC_WriteReg( ADMXRC_HANDLE Card, unsigned char Index, unsigned char Value);
Arguments
Argument | Type | Purpose |
Card | In | Handle of card on which the write is to take place |
Index | In | Index of control register to write |
Value | In | Byte to write to control register |
Return value
Value | Meaning |
ADMXRC_SUCCESS | The data was written successfully |
ADMXRC_INVALID_HANDLE | Card is not a valid card handle |
ADMXRC_INVALID_PARAMETER | Index was out of range. |
Description
The ADMXRC_WriteReg function writes to the byte-wide control registers on an ADM-XRC or ADM-XRC-P card.
The Index parameter specifies the index of the register to write to. Please refer to the user manual for your card for a map of the control registers.
The Value parameter is the value to write to the specified register.