|
xpci3xxx 1.00.00
|
Macros | |
| #define | CMD_xpci3xxx_InitAnalogOutput _IOR(xpci3xxx_MAGIC, 50,long) |
| Initializes one analog output channel. | |
| #define | CMD_xpci3xxx_ReadAnalogOutputBit _IOR(xpci3xxx_MAGIC, 51,long) |
| Returns the EOC bit. | |
| #define | CMD_xpci3xxx_WriteAnalogOutputValue _IOR(xpci3xxx_MAGIC, 52,long) |
| Writes to the analog output channel. | |
| #define CMD_xpci3xxx_InitAnalogOutput _IOR(xpci3xxx_MAGIC, 50,long) |
Initializes one analog output channel.
| [in] | uint8_t | arg[2] |
| 0 | : Success |
| 1 | : Internal error |
| 2 | : Wrong channel number |
| 3 | : Wrong voltage mode |
| 4 | : A conversion is already started |
Definition at line 923 of file xpci3xxx.h.
| #define CMD_xpci3xxx_ReadAnalogOutputBit _IOR(xpci3xxx_MAGIC, 51,long) |
Returns the EOC bit.
Reads the EOC (End Of Conversion) bit of the analog output. This bit is set by the hardware to indicate that a conversion is finished.
| [out] | uint8_t | *arg = 0: no analog output conversion finished | 1: analog output conversion finished |
| 0 | : Success |
| 1 | : Internal error |
Definition at line 935 of file xpci3xxx.h.
| #define CMD_xpci3xxx_WriteAnalogOutputValue _IOR(xpci3xxx_MAGIC, 52,long) |
Writes to the analog output channel.
| [in] | uint32_t | arg[2] |
| 0 | : Success |
| 1 | : Internal error |
| 2 | : Wrong channel number |
| 3 | : Wrong write value |
Definition at line 949 of file xpci3xxx.h.