GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LDT / V0-3-2
Constituent: test_convert     Tag: sun-gcc
#include "LDT/BW.h"
#include "LDT/BWP.h"
Include dependency graph for BFP.h:
This graph shows which files directly or indirectly include this file:
Functions | |
static __inline unsigned int | BFP__maskL (int width) |
Produce a left justified mask of the specified width. | |
static __inline unsigned int | BFP__maskR (int width) |
Produce a right justified mask of the specified width. | |
static __inline unsigned int | BFP__wordL (unsigned int *w, unsigned int position, unsigned int field, unsigned int width) |
Packs a left justified bit field into the current position. The width of the bit field must be less than or equal to 32 bits. | |
static __inline unsigned int | BFP__wordR (unsigned int *w, unsigned int position, unsigned int field, unsigned int width) |
Packs a right justified bit field into the current position. The width of the bit field must be less than or equal to 32 bits. | |
static __inline unsigned int | BFP__wordLP (unsigned int *w, unsigned int position, unsigned int field, unsigned int width) |
Packs a left justified bit field into the current position limiting the field to the specified width. The width of the bit field must be less than or equal to 32 bits. | |
static __inline unsigned int | BFP__wordRP (unsigned int *w, unsigned int position, unsigned int field, unsigned int width) |
Packs a right justified bit field into the current position limiting the field to the specified width. The width of the bit field must be less than or equal to 32 bits. | |
static __inline unsigned int | BFP__wordB (unsigned int *w, unsigned int position, unsigned int bit) |
Packs the value of the bit into the current bit position. The value of the bit is either 0 or 1, or said in a negative fashion, it is not the left justified version, i.e. 0x80000000 or 0. | |
static __inline unsigned int | BFP__collapse (unsigned int *w, unsigned int position, unsigned int wrd, unsigned int msk) |
Convenience routine to first collapse wrd, keeping only those bits set in wrd, then pack the collapsed word into w starting at bit position. | |
static __inline unsigned int | BFP__copyW (unsigned int *w, unsigned int position, const unsigned int *wrds, int nwrds) |
Copies the specified array of 32-bit words into the output bit array. | |
static __inline unsigned int | BFP__convert (unsigned int *w, unsigned int position, unsigned int val, unsigned int nval, unsigned int nexp) |
Convenience routine to pack small integers that are embedded in a larger field. | |
static __inline unsigned int | BFP__pack1s (unsigned int *w, unsigned int position, unsigned int cnt) |
Packs cnt consecutive 1's terminated by a 0. |
|
Convenience routine to first collapse wrd, keeping only those bits set in wrd, then pack the collapsed word into w starting at bit position.
|
|
Convenience routine to pack small integers that are embedded in a larger field.
|
|
Copies the specified array of 32-bit words into the output bit array.
|
|
Produce a left justified mask of the specified width.
|
|
Produce a right justified mask of the specified width.
|
|
Packs cnt consecutive 1's terminated by a 0. __inline unsigned int BFP_pack1s (unsigned int *w, unsigned int position, unsigned int cnt)
|
|
Packs the value of the bit into the current bit position. The value of the bit is either 0 or 1, or said in a negative fashion, it is not the left justified version, i.e. 0x80000000 or 0.
|
|
Packs a left justified bit field into the current position. The width of the bit field must be less than or equal to 32 bits.
|
|
Packs a left justified bit field into the current position limiting the field to the specified width. The width of the bit field must be less than or equal to 32 bits.
|
|
Packs a right justified bit field into the current position. The width of the bit field must be less than or equal to 32 bits.
|
|
Packs a right justified bit field into the current position limiting the field to the specified width. The width of the bit field must be less than or equal to 32 bits.
|