GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-2 > latc / sun-gcc
#include "AG_descriptions_s.h"
#include <string.h>
Functions | |
| static size_t | sizeofCpt (const CptDescription *cd) |
| Returns the volume of the component. | |
| static void | clearCpt (void *cpt, const CptDescription *cd) |
| Clears all the bits of the data block, assuming that it is described by the CptDescription. | |
| static void | copyCpt (void *cpt, const void *source, const CptDescription *cd) |
| Copy from source to dest. | |
| static int | compareCpt (const void *cpt, const void *that, const CptDescription *cd) |
| Compare two components. | |
| void clearCpt | ( | void * | cpt, | |
| const CptDescription * | cd | |||
| ) | [inline, static] |
Clears all the bits of the data block, assuming that it is described by the CptDescription.
| cpt | Pointer to start of the component data | |
| cd | Description of the component registers |
References sizeofCpt().
| int compareCpt | ( | const void * | this, | |
| const void * | that, | |||
| const CptDescription * | cd | |||
| ) | [inline, static] |
Compare two components.
| this | Pointer to one of the components being compared | |
| that | Pointer to the other component be compared | |
| cd | Description of the component registers |
| 0 | if identical | |
| non-zero | if different |
References sizeofCpt().
| void copyCpt | ( | void * | dest, | |
| const void * | source, | |||
| const CptDescription * | cd | |||
| ) | [inline, static] |
Copy from source to dest.
| dest | Destination to copy to | |
| source | Place to copy from | |
| cd | Description of the component registers |
References sizeofCpt().
| size_t sizeofCpt | ( | const CptDescription * | cd | ) | [inline, static] |
Returns the volume of the component.
| cd | Description of the component registers |
References CptDescription::nregs, and CptDescription::width.
Referenced by clearCpt(), compareCpt(), copyCpt(), and LATC_record().
1.5.8