Paparazzi UAS v7.0_unstable
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
33typedef int8_t s8;
35typedef int16_t s16;
37typedef int32_t s32;
39typedef int64_t s64;
41typedef uint8_t u8;
43typedef uint16_t u16;
45typedef uint32_t u32;
47typedef 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
uint16_t foo
Definition main_demo5.c:58
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
short int16_t
Typedef defining 16 bit short type.
unsigned long long uint64_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
signed char int8_t
Typedef defining 8 bit char type.