Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Swift Navigation Inc.
3  * Contact: Henry Hallam <henry@swift-nav.com>
4  * Fergus Noble <fergus@swift-nav.com>
5  *
6  * This source is subject to the license found in the file 'LICENSE' which must
7  * be be distributed together with this source. All other rights reserved.
8  *
9  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  */
13 
14 #ifndef LIBSBP_COMMON_H
15 #define LIBSBP_COMMON_H
16 
17 #include <stdint.h>
18 #include <stdbool.h>
19 #include <inttypes.h>
20 
21 /* Should match guard in libswiftnav/common.h */
22 #ifndef COMMON_INT_TYPES
23 #define COMMON_INT_TYPES
24 
33 typedef int8_t s8;
35 typedef int16_t s16;
37 typedef int32_t s32;
39 typedef int64_t s64;
41 typedef uint8_t u8;
43 typedef uint16_t u16;
45 typedef uint32_t u32;
47 typedef uint64_t u64;
48 
49 #endif
50 
55 #endif /* LIBSBP_COMMON_H */
unsigned short uint16_t
Definition: types.h:16
int8_t s8
Signed 8-bit integer.
Definition: common.h:33
signed long long int64_t
Definition: types.h:21
int16_t s16
Signed 16-bit integer.
Definition: common.h:35
int64_t s64
Signed 64-bit integer.
Definition: common.h:39
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:41
unsigned long long uint64_t
Definition: types.h:20
unsigned long uint32_t
Definition: types.h:18
uint64_t u64
Unsigned 64-bit integer.
Definition: common.h:47
signed short int16_t
Definition: types.h:17
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:43
signed long int32_t
Definition: types.h:19
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:45
unsigned char uint8_t
Definition: types.h:14
signed char int8_t
Definition: types.h:15
int32_t s32
Signed 32-bit integer.
Definition: common.h:37