![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <PlatformTypes.h>
Go to the source code of this file.
Macros | |
#define | FW_NO_ASSERT 1 |
Asserts turned off. More... | |
#define | FW_FILEID_ASSERT 2 |
File ID used - requires -DASSERT_FILE_ID=somevalue to be set on the compile command line. More... | |
#define | FW_FILENAME_ASSERT 3 |
Uses the file path in the assert - image stores filenames. More... | |
#define | FW_RELATIVE_PATH_ASSERT 4 |
to be set on the compile command line More... | |
#define | FW_NUM_ARRAY_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) |
number of elements in an array More... | |
#define | FW_MAX(a, b) (((a) > (b)) ? (a) : (b)) |
MAX macro. More... | |
#define | FW_MIN(a, b) (((a) < (b)) ? (a) : (b)) |
MIN macro. More... | |
#define | STATIC static |
static for non unit-test code More... | |
Typedefs | |
typedef int8_t | I8 |
8-bit signed integer More... | |
typedef uint8_t | U8 |
8-bit unsigned integer More... | |
typedef U8 | BYTE |
byte type More... | |
typedef char | CHAR |
typedef float | F32 |
32-bit floating point More... | |
typedef PlatformIntType | NATIVE_INT_TYPE |
typedef PlatformUIntType | NATIVE_UINT_TYPE |
typedef PlatformPointerCastType | POINTER_CAST |
#define FW_FILEID_ASSERT 2 |
File ID used - requires -DASSERT_FILE_ID=somevalue to be set on the compile command line.
Definition at line 60 of file BasicTypes.h.
#define FW_FILENAME_ASSERT 3 |
Uses the file path in the assert - image stores filenames.
Definition at line 61 of file BasicTypes.h.
#define FW_MAX | ( | a, | |
b | |||
) | (((a) > (b)) ? (a) : (b)) |
MAX macro.
Definition at line 67 of file BasicTypes.h.
#define FW_MIN | ( | a, | |
b | |||
) | (((a) < (b)) ? (a) : (b)) |
MIN macro.
Definition at line 68 of file BasicTypes.h.
#define FW_NO_ASSERT 1 |
Asserts turned off.
Definition at line 58 of file BasicTypes.h.
#define FW_NUM_ARRAY_ELEMENTS | ( | a | ) | (sizeof(a) / sizeof((a)[0])) |
number of elements in an array
Definition at line 66 of file BasicTypes.h.
#define FW_RELATIVE_PATH_ASSERT 4 |
to be set on the compile command line
Uses a relative file path (within fprime/fprime library) for assert. - requires -DASSERT_RELATIVE_PATH=path
Definition at line 64 of file BasicTypes.h.
#define STATIC static |
static for non unit-test code
Definition at line 71 of file BasicTypes.h.
byte type
Definition at line 27 of file BasicTypes.h.
typedef char CHAR |
Definition at line 28 of file BasicTypes.h.
typedef float F32 |
32-bit floating point
Definition at line 45 of file BasicTypes.h.
typedef int8_t I8 |
8-bit signed integer
Definition at line 25 of file BasicTypes.h.
typedef PlatformIntType NATIVE_INT_TYPE |
Definition at line 51 of file BasicTypes.h.
typedef PlatformUIntType NATIVE_UINT_TYPE |
Definition at line 52 of file BasicTypes.h.
typedef PlatformPointerCastType POINTER_CAST |
Definition at line 53 of file BasicTypes.h.
typedef uint8_t U8 |
8-bit unsigned integer
Definition at line 26 of file BasicTypes.h.