Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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 */
int64_t s64
Signed 64-bit integer.
Definition: common.h:39
uint64_t u64
Unsigned 64-bit integer.
Definition: common.h:47
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:41
int8_t s8
Signed 8-bit integer.
Definition: common.h:33
int16_t s16
Signed 16-bit integer.
Definition: common.h:35
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:43
int32_t s32
Signed 32-bit integer.
Definition: common.h:37
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:45
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
int int32_t
Typedef defining 32 bit int type.
Definition: vl53l1_types.h:83
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
Definition: vl53l1_types.h:78
short int16_t
Typedef defining 16 bit short type.
Definition: vl53l1_types.h:93
unsigned long long uint64_t
Definition: vl53l1_types.h:72
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98
signed char int8_t
Typedef defining 8 bit char type.
Definition: vl53l1_types.h:103