GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSD / dev > qsd_print / linux-gcc
Typedefs | |
typedef enum _CCSDS_SEQUENCE_FLAGS_V | CCSDS_SEQUENCE_FLAGS_V |
Typedef for enum _CCSDS_SEQUENCE_FLAGS_V. | |
typedef enum _CCSDS_SEQUENCE_FLAGS_M | CCSDS_SEQUENCE_FLAGS_M |
Typedef for enum _CCSDS_SEQUENCE_FLAGS_M. | |
typedef enum _CCSDS_SEQUENCE_FLAGS_K | CCSDS_SEQUENCE_FLAGS_K |
Typedef for CCSDS_SEQUENCE_FLAGS_K. | |
Enumerations | |
enum | _CCSDS_SEQUENCE_FLAGS_V { CCSDS_SEQUENCE_FLAGS_V_FIRST = 0, CCSDS_SEQUENCE_FLAGS_V_LAST = 1 } |
The CCSDS sequence flags, right shift. This is really a 2 bit a value with
| |
enum | _CCSDS_SEQUENCE_FLAGS_M { CCSDS_SEQUENCE_FLAGS_M_FIRST = 1 << CCSDS_SEQUENCE_FLAGS_V_FIRST, CCSDS_SEQUENCE_FLAGS_M_LAST = 1 << CCSDS_SEQUENCE_FLAGS_V_LAST } |
The CCSDS sequence flags. This is really a 2 bit a value with bit 0 indicating whether this is the first CCSDS packet and bit 1 indicating whether this is the last CCSDS packet. More... | |
enum | _CCSDS_SEQUENCE_FLAGS_K { CCSDS_SEQUENCE_FLAGS_K_MIDDLE = 0, CCSDS_SEQUENCE_FLAGS_K_FIRST = CCSDS_SEQUENCE_FLAGS_M_FIRST, CCSDS_SEQUENCE_FLAGS_K_LAST = CCSDS_SEQUENCE_FLAGS_M_LAST, CCSDS_SEQUENCE_FLAGS_K_ONLY } |
Enumerates the state value represented by the sequence flags. More... | |
Functions | |
static __inline int | CCSDS_sequenceFlagsIsOnly (int flags) |
Test if the sequence flags indicate that this is the only packet. | |
static __inline int | CCSDS_sequenceFlagsIsFirst (int flags) |
Test if the sequence flags indicate that this is the first packet. | |
static __inline int | CCSDS_sequenceFlagsIsLast (int flags) |
Test if the sequence flags indicate that this is the last packet. | |
static __inline int | CCSDS_sequenceFlagsIsMiddle (int flags) |
Test if the sequence flags indicate that this is a middle packet. |
CVS $Id: CCSDS_sequenceFlags.h,v 1.2 2008/12/06 19:29:27 russell Exp $
Typedef for CCSDS_SEQUENCE_FLAGS_K.
Enumerates the state value represented by the sequence flags.
The CCSDS sequence flags, right shift. This is really a 2 bit a value with
static __inline int CCSDS_sequenceFlagsIsFirst | ( | int | flags | ) | [static] |
Test if the sequence flags indicate that this is the first packet.
== | 0 if not the first packet | |
!= | 0 if is the first packet |
flags | The sequence flags |
References CCSDS_SEQUENCE_FLAGS_M_FIRST.
static __inline int CCSDS_sequenceFlagsIsLast | ( | int | flags | ) | [static] |
Test if the sequence flags indicate that this is the last packet.
== | 0 if not the last packet | |
!= | 0 if is the last packet |
flags | The sequence flags |
References CCSDS_SEQUENCE_FLAGS_K_LAST.
static __inline int CCSDS_sequenceFlagsIsMiddle | ( | int | flags | ) | [static] |
Test if the sequence flags indicate that this is a middle packet.
== | 0 if not a middle packet | |
!= | 0 if is a middle packet |
flags | The sequence flags |
References CCSDS_SEQUENCE_FLAGS_K_MIDDLE.
static __inline int CCSDS_sequenceFlagsIsOnly | ( | int | flags | ) | [static] |
Test if the sequence flags indicate that this is the only packet.
== | 0 if not the only packet | |
!= | 0 if is the only packet |
flags | The sequence flags |
References CCSDS_SEQUENCE_FLAGS_K_ONLY.