GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CTDB / V5-5-4
Constituent: co1553_rt     Tag: rad750
#include "stdlib.h"
#include "string.h"
#include "CTDB/CO1553_rt.h"
#include "CTDB/CO1553_util.h"
#include "CCSDS/CCSDS_pkt.h"
#include "PBS/LI.h"
#include "PBS/FPA.h"
#include "PBS/L.h"
#include "PBS/RW.h"
#include "PBS/MBA.h"
#include "MSG/MSG_pubdefs.h"
Include dependency graph for CO1553_rt_telem.c:
Telemtry Interface Functions | |
unsigned int | CO1553_rtTelemSizeof (void) |
Get the size of a telemetry interface descriptor. | |
unsigned int | CO1553_rtTelemInit (CO1553_RT_Telem *telem, unsigned int msgCount, unsigned int queueSizeHigh, unsigned int queueSizeLow, unsigned int telemPktSize, unsigned int hkpPktSize, CO1553_RT_Hkp_Handler *hkpHandler, void *hkpArg) |
Initialize a telemetry interface descriptor. | |
unsigned int | CO1553_rtTelemExit (CO1553_RT_Telem *telem) |
Destroy a telemetry interface descriptor. | |
unsigned int | CO1553_rtTelemMsg (CO1553_RT_Telem *telem, unsigned int *devPtr, CO1553_RT_Mem_Copy *copyFunc, unsigned int wordSize, CO1553_RT_Diag *diag, RW_ctl *lock) |
Process a 1553 message transmit for the telemetry interface. | |
unsigned int | CO1553_rtTelemPktSend (CO1553_RT_Telem *telem, void *pkt, CO1553_RT_Pkt_Free *freeHandler, void *freeArg, CO1553_RT_Priority priority, const TOC *timeout) |
Send a CCSDS telmetry packet to the 1553 telemtry interface. | |
unsigned int | CO1553_rtTelemHkpSet (CO1553_RT_Telem *telem, CO1553_RT_Hkp_Handler *hkpHandler, void *hkpArg) |
Change the HKP application callback. | |
unsigned int | CO1553_rtTelemHkpGet (CO1553_RT_Telem *telem, CO1553_RT_Hkp_Handler **hkpHandler, void **hkpArg) |
Get current HKP application callback information. | |
Defines | |
#define | MEM_ALLOC(_size) MBA_alloc((_size)) |
#define | MEM_FREE(_mem) MBA_free((_mem)) |
Functions | |
static unsigned int | CO1553_rtTelemHkpProc (CO1553_RT_Telem *telem, void *pktPtr, int *hkpSize, CO1553_RT_Diag *diag, RW_ctl *lock) |
|
Helper macro to call user defined memory allocator.
|
|
Helper macro to call user defined memory allocator.
|
|
Destroy a telemetry interface descriptor. Release resources from a 1553 CCSDS telemetry interface.
|
|
Get current HKP application callback information. Retrieves the HKP application callback function and arguments current values.
|
|
Attempts to insert a real-time houskeeping packet at the head of the telemetry packet block. Calls the user handler to insert packet. Verifies packet header contents once complete.
|
|
Change the HKP application callback. Changes the HKP application callback function and arguments to new values. The old values, set either in CO1553_rtTelemInit() or in the last call to this function, are replaced.
|
|
Initialize a telemetry interface descriptor. Initializes a 1553 CCSDS telemetry packet interface. The telemetry packet output queue is created.
|
|
Process a 1553 message transmit for the telemetry interface. Announces to the 1553 telemetry packet interface the transmission of the last 1553 telemety message of a telemetry transfer block (GT_PDU). This function is called by a 1553 controller driver when the previous 1553 telemetry messages in a frame have been sent by the 1553 device. The CCSDS telemetry packet output queue is checked for any pending data. The function tries to fill a complete telemetry block with packets from the queue for transmission on the next frame.
|
|
Send a CCSDS telmetry packet to the 1553 telemtry interface. Places a CCSDS telemetry packet on the remote terminal telemetry output queue. The telemetry packet state machine will remove packets from this queue and transmit them as fast as 1553 telemetry message bandwidth allows. The packet buffer memory remains allocated as long as the packet is on the output queue. After the packet has been transmitted, a user supplied callback freeHandler will be called to release the packet memory.
|
|
Get the size of a telemetry interface descriptor.
|