Paparazzi UAS
v5.18.0_stable
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 */
uint16_t
unsigned short uint16_t
Definition:
types.h:16
u64
uint64_t u64
Unsigned 64-bit integer.
Definition:
common.h:47
uint32_t
unsigned long uint32_t
Definition:
types.h:18
int64_t
signed long long int64_t
Definition:
types.h:21
u16
uint16_t u16
Unsigned 16-bit integer.
Definition:
common.h:43
u32
uint32_t u32
Unsigned 32-bit integer.
Definition:
common.h:45
s32
int32_t s32
Signed 32-bit integer.
Definition:
common.h:37
int16_t
signed short int16_t
Definition:
types.h:17
uint8_t
unsigned char uint8_t
Definition:
types.h:14
s16
int16_t s16
Signed 16-bit integer.
Definition:
common.h:35
int8_t
signed char int8_t
Definition:
types.h:15
int32_t
signed long int32_t
Definition:
types.h:19
inttypes.h
u8
uint8_t u8
Unsigned 8-bit integer.
Definition:
common.h:41
s64
int64_t s64
Signed 64-bit integer.
Definition:
common.h:39
s8
int8_t s8
Signed 8-bit integer.
Definition:
common.h:33
uint64_t
unsigned long long uint64_t
Definition:
types.h:20
sw
airborne
subsystems
gps
librtcm3
common.h
Generated on Tue Feb 1 2022 13:51:17 for Paparazzi UAS by
1.8.17