Go to the source code of this file.
Detailed Description
Macro Definition Documentation
| #define DtPDU_STATUS_BIT_SHIFT |
( |
|
attr, |
|
|
|
val |
|
) |
| const unsigned int DtPduStatus##attr##BitShift = val; |
| #define DtPDU_STATUS_GET_BOOL_ONE_BIT |
( |
|
attr | ) |
(((val >> DtPduStatus##attr##BitShift) & 0x1) == 0x1) |
| #define DtPDU_STATUS_GET_ENUM_ONE_BIT |
( |
|
attr | ) |
DtPduStatus##attr((val >> DtPduStatus##attr##BitShift) & 0x1) |
| #define DtPDU_STATUS_GET_ENUM_TWO_BIT |
( |
|
attr | ) |
DtPduStatus##attr((val >> DtPduStatus##attr##BitShift) & 0x3) |
| #define DtPDU_STATUS_SET_INDICATOR_ONE_BIT |
( |
|
attr, |
|
|
|
indicator |
|
) |
| |
Value:
val |= DtPduStatus##attr##indicator << DtPduStatus##attr##BitShift
| #define DtPDU_STATUS_SET_INDICATOR_TWO_BIT |
( |
|
attr, |
|
|
|
indicator |
|
) |
| |
Value:
val |= indicator << DtPduStatus##attr##BitShift
| #define DtPDU_STATUS_UNSET_INDICATOR_ONE_BIT |
( |
|
attr | ) |
val &= ~(0x1 << DtPduStatus##attr##BitShift) |
| #define DtPDU_STATUS_UNSET_INDICATOR_TWO_BIT |
( |
|
attr | ) |
val &= ~(0x3 << DtPduStatus##attr##BitShift) |
| #define DtSTATUS_NOT_OK 1 |
Function Documentation
| DtPDU_STATUS_BIT_SHIFT |
( |
TransferredEntityIndicator |
, |
|
|
0 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
LVCIndicator |
, |
|
|
1 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
CoupledExtensionIndicator |
, |
|
|
3 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
FireTypeIndicator |
, |
|
|
4 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
DetonationTypeIndicator |
, |
|
|
4 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
RadioAttachedIndicator |
, |
|
|
4 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
IntercomAttachedIndicator |
, |
|
|
4 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
IFFSimulationMode |
, |
|
|
4 |
|
|
) |
| |
| DtPDU_STATUS_BIT_SHIFT |
( |
ActiveInterrogationIndicator |
, |
|
|
5 |
|
|
) |
| |
Variable Documentation
| int DtProtocolVersionToRecvMax |
| int DtProtocolVersionToRecvMin |
| int DtProtocolVersionToSend |