GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-2 > latc_test_embd / rad750
Classes | |
union | ull_mask |
union of an unsigned long long and a two element array of unsigneds used to create bit masks for the ull routines More... | |
Functions | |
static void | maskShortFld (const FldDescription *fd, int regId, int fldId, unsigned short *value) |
Mask down the value to fit into the field. | |
static void | maskLngLngFld (const FldDescription *fd, int regId, int fldId, unsigned long long *value) |
Mask down the value to the size of the field. |
void maskLngLngFld | ( | const FldDescription * | fd, | |
int | regId, | |||
int | fldId, | |||
unsigned long long * | value | |||
) | [inline, static] |
Mask down the value to the size of the field.
fd | Description of the fields in the register | |
regId | Enum specifying register to write to (previously bounds checked) | |
fldId | Enum specifying field to write to (previously bounds checked) | |
value | Set the target registers to cpt. |
References ull_mask::uia, ull_mask::ull, and FldDescription::width.
Referenced by maskFld().
void maskShortFld | ( | const FldDescription * | fd, | |
int | regId, | |||
int | fldId, | |||
unsigned short * | value | |||
) | [inline, static] |
Mask down the value to fit into the field.
fd | Description of the fields in the register | |
regId | Enum specifying register to write to (previously bounds checked) | |
fldId | Enum specifying field to write to (previously bounds checked) | |
value | Value to set the field to. |
References FldDescription::width.
Referenced by maskFld().