Helper Functions
Overview
A set of tool functions for device access.

Functions | |
long | NemReadStatusWord (TNemesys *Nemesys, uint16_t *pwStatusWord) |
Read status word from device The bits of the statusword indicate the current state of the drive. More... | |
Function Documentation
long NemReadStatusWord | ( | TNemesys * | Nemesys, |
uint16_t * | pwStatusWord | ||
) |
Read status word from device The bits of the statusword indicate the current state of the drive.
- Parameters
-
[in] Nemesys Device to query [out] pwStatusWord Buffer stores received status word
- Returns
- Error code - ERR_NOERR indicates success
Referenced by Nem_ExecDrvStateCmd(), Nem_IsState(), and NemSetEnabled().
long CsiDevReadObject(struct CsiDev *pDev, uint16_t ObjDicIdx, uint8_t ObjDicSub, uint32_t *pRxDWord)
This function reads up to 4 bytes of data from device object dictionary.
Definition: csi_dev.c:157
