GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V6-1-0 > lsec / rad750
#include "raw_p.h"
#include "LSEC/LSEC_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include <stdio.h>
#include <string.h>
Functions | |
| void | LSEC_addRaw (LSEC_raw *raw, void *src) |
| Place the data in the next free slot. | |
| unsigned | LSEC_checkRaw (LSEC_raw *raw) |
| Check the LSEC_raw structure. | |
| void | LSEC_clearRaw (LSEC_raw *raw) |
| Clear the LSEC_raw structure. | |
| void | LSEC_deleteRaw (LSEC_raw *raw) |
| Free memory associated with the LSEC_raw structure. | |
| LSEC_raw * | LSEC_newRaw (unsigned wcnt, unsigned cap) |
| Allocate memory for an LSEC_raw structure. | |
| unsigned char * | LSEC_packRaw (LSEC_raw *raw, unsigned char *buf) |
| Copy the raw data to the output buffer. | |
| void | LSEC_reportRaw (LSEC_raw *raw, FILE *fp) |
| Produce a formatted ASCII summary of the structure. | |
| void LSEC_addRaw | ( | LSEC_raw * | raw, | |
| void * | src | |||
| ) |
Place the data in the next free slot.
| raw | Pointer to an allocated, initialised, LSEC_raw structure | |
| src | Pointer to the data to be added to this structure |
| unsigned LSEC_checkRaw | ( | LSEC_raw * | raw | ) |
Check the LSEC_raw structure.
| raw | Pointer to an allocated, initialise, LSEC_raw structure |
| LSEC_SUCCESS | If there were no errors filling this structure | |
| LSEC_RAWOVER | If there was an attempt to add more entries than this structure can hold |
| void LSEC_clearRaw | ( | LSEC_raw * | raw | ) |
Clear the LSEC_raw structure.
| raw | Pointer to an allocated, initialised, LSEC_raw structure |
| void LSEC_deleteRaw | ( | LSEC_raw * | raw | ) |
Free memory associated with the LSEC_raw structure.
| raw | Pointer to an allocated, initialised, LSEC_raw structure |
| LSEC_raw* LSEC_newRaw | ( | unsigned | wcnt, | |
| unsigned | cap | |||
| ) |
Allocate memory for an LSEC_raw structure.
| wcnt | Number of words in the data stored for each event | |
| cap | Capacity of the calibration task, the maximum number of events that can be collected each cycle |
| unsigned char* LSEC_packRaw | ( | LSEC_raw * | raw, | |
| unsigned char * | buf | |||
| ) |
Copy the raw data to the output buffer.
| raw | Pointer to an allocated, initialised LSEC_raw structure | |
| buf | Pointer to the buffer where the context should be placed |
| void LSEC_reportRaw | ( | LSEC_raw * | raw, | |
| FILE * | fp | |||
| ) |
Produce a formatted ASCII summary of the structure.
| raw | Pointer to an allocated, initialised, LSEC_raw structure | |
| fp | Pointer to file to send the report |
1.5.3