GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GNAT / V2-0-1 > gnat_cio / linux-gcc
Typedefs | |
typedef struct _chnlBndl * | bndlHandle |
Typedef for struct _chnlBndl*. | |
Functions | |
int | gBndlClear (gnatHandle gh) |
zeroes out the bundle array | |
int | gBndlAddChnl (gnatHandle gh, unsigned char chnlNum, unsigned int nChnlData, unsigned int *chnlData) |
Inserts the bits pointed to by chnlData into channel chnlNum of the channel bundle. | |
int | gBndlGetDepth (gnatHandle gh, unsigned int *depth32) |
Returns the depth of the bunlde bh in the pointer depth. | |
int | gBndlGetChnl (gnatHandle gh, unsigned char chnlNum, unsigned int nChnlData, unsigned int *chnlData) |
Retrieves the bits contained in channel number chnlNum of bundle in gh. | |
unsigned short * | gBndlGetBndl (gnatHandle gh) |
returns pointer to bundle storage |
int gBndlAddChnl | ( | gnatHandle | gh, | |
unsigned char | chnlNum, | |||
unsigned int | nChnlData, | |||
unsigned int * | pChnlData | |||
) |
Inserts the bits pointed to by chnlData into channel chnlNum of the channel bundle.
gh | gnat driver handle previously allocated | |
chnlNum | the channel in the bundle that chnlData is to be inserted into (0-15) | |
nChnlData | the number of 32-bit words in pChnlData | |
pChnlData | a pointer to the channel bits. |
References BNDL_DATA, G_OK, GERR_BAD_PARAM, _gnat::m_bndlDepth, MAX_CHANNEL, and VERIFY_HANDLE.
Referenced by sendLATpCell().
int gBndlClear | ( | gnatHandle | gh | ) |
zeroes out the bundle array
gh | gnat driver handle previously allocated |
References G_OK, _gnat::m_bndlData, and VERIFY_HANDLE.
Referenced by sendLATpCell().
unsignd short * gBndlGetBndl | ( | gnatHandle | gh | ) |
returns pointer to bundle storage
gh | gnat driver handle previously allocated |
References _gnat::m_bndlData.
int gBndlGetChnl | ( | gnatHandle | gh, | |
unsigned char | chnlNum, | |||
unsigned int | nChnlData, | |||
unsigned int * | pChnlData | |||
) |
Retrieves the bits contained in channel number chnlNum of bundle in gh.
gh | gnat driver handle previously allocated | |
chnlNum | the channel number in the bundle bh to fetch. | |
nChnlData | the number of 32-bit words to fetch and store in pChnlData | |
pChnlData | a pointer to store to hold the channel bits. |
References BNDL_DATA, G_OK, GERR_BAD_PARAM, _gnat::m_bndlDepth, MAX_CHANNEL, and VERIFY_HANDLE.
int gBndlGetDepth | ( | gnatHandle | gh, | |
unsigned int * | depth | |||
) |
Returns the depth of the bunlde bh in the pointer depth.
gh | gnat driver handle previously allocated | |
depth | output parameter used to return the depth of bh |
References G_OK, GERR_BAD_PARAM, _gnat::m_bndlDepth, and VERIFY_HANDLE.