libsbp  v2.4.7
ext_events.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Swift Navigation Inc.
3  * Contact: Swift Navigation <dev@swiftnav.com>
4  *
5  * This source is subject to the license found in the file 'LICENSE' which must
6  * be be distributed together with this source. All other rights reserved.
7  *
8  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11  */
12 
13 /*****************************************************************************
14  * Automatically generated from yaml/swiftnav/sbp/ext_events.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
24 #ifndef LIBSBP_EXT_EVENTS_MESSAGES_H
25 #define LIBSBP_EXT_EVENTS_MESSAGES_H
26 
27 #include "common.h"
28 
29 SBP_PACK_START
30 
31 
37 #define SBP_MSG_EXT_EVENT 0x0101
38 typedef struct SBP_ATTR_PACKED {
39  u16 wn;
40  u32 tow;
45  u8 pin;
47 
48 
51 SBP_PACK_END
52 
53 #endif /* LIBSBP_EXT_EVENTS_MESSAGES_H */
s32 ns_residual
Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to 500000) [ns].
Definition: ext_events.h:41
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
u32 tow
GPS time of week rounded to the nearest millisecond [ms].
Definition: ext_events.h:40
u16 wn
GPS week number [weeks].
Definition: ext_events.h:39
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:42
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
u8 flags
Flags.
Definition: ext_events.h:44
u8 pin
Pin number.
Definition: ext_events.h:45
int32_t s32
Signed 32-bit integer.
Definition: common.h:36