_EBF_match_LpwAssumptionChecks Struct Reference
This is a dummy structure used to check optimization assumptions.
More...
#include <EBF_matchPvt.h>
List of all members.
|
Public Attributes |
unsigned char | X [1/(EBF_EBW_V_PARITY==16?1:-1)] |
Detailed Description
This is a dummy structure used to check optimization assumptions.
- The code makes an assumption that the parity bit of the LAT Protocol Word is located in bit 16 of the EBW. This dummy structure contains a divide by a number which will be 1 if this assumption is okay and 0 if not. If the assumption is violated, the compiler will issue an error.
- Note:
- This check cannot be down by the preprocessor since EBF_EBW_V_PARITY is an enumerated value. The preprocessor does not know anything about the value of a preprocessor symbol.
Member Data Documentation
If during complication, the compiler indicates there is an error at this line, it is because EBF_EBW_V_PARITY is not 16. For the code in EBF_checkEbw to function correctly, EBF_EBW_V_PARITY must be 16
The documentation for this struct was generated from the following file: