#include <simrtdb.h>
Public Member Functions | |
double euValue[MAX_IOMAPPINGS] | __attribute__ ((aligned(8))) |
double rawValue | __attribute__ ((aligned(8))) |
Data Fields | |
RTDBItem * | pItem [MAX_IOMAPPINGS] |
int | mappingCount |
char * | name [MAX_IOMAPPINGS] |
char | signedValue [MAX_IOMAPPINGS] |
Utility object passed to generic IO user hook routine.
double euValue [MAX_IOMAPPINGS] BoardUserHookMappingDefn::__attribute__ | ( | (aligned(8)) | ) |
For input mappings, this is the value after EU conversion has been applied to the raw value and this value will be stored in the RTDB.
For output mappings, this is the value that is in the RTDB and will be converted to raw value when written to the hardware.
double rawValue BoardUserHookMappingDefn::__attribute__ | ( | (aligned(8)) | ) |
On input, this is the value read from the hardware, modifying this value has not effect on the value stored in the RTDB.
On output, this value is undefined since the conversion from EU value to raw occurs after the user routine has been called.
RTDBItem* BoardUserHookMappingDefn::pItem[MAX_IOMAPPINGS] |
Pointer to the items mapped to this channel.
Number of mapping define for this device channel.
char* BoardUserHookMappingDefn::name[MAX_IOMAPPINGS] |
The name of the RTDB items mapped to this channel/bit.
char BoardUserHookMappingDefn::signedValue[MAX_IOMAPPINGS] |
Whether the eu value is signed . Only used for output mappings. Undefined for input mappings.