CTRE Phoenix 6 C++ 24.3.0
DataStructs_Interface.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#pragma once
8#include <stdint.h>
9
10typedef struct _return_values_t
11{
12 double outValue;
13 char const *units;
17 int error;
19
20typedef struct _signal_values_t
21{
22 uint32_t deviceHash;
23 uint32_t spn;
25
26typedef struct _network_signal_t {
27 const char *network;
struct _return_values_t return_values_t
struct _network_signal_t network_signal_t
struct _signal_values_t signal_values_t
Definition: DataStructs_Interface.h:26
const char * network
Definition: DataStructs_Interface.h:27
signal_values_t signal
Definition: DataStructs_Interface.h:28
Definition: DataStructs_Interface.h:11
double hwtimestampSeconds
Definition: DataStructs_Interface.h:14
char const * units
Definition: DataStructs_Interface.h:13
double ecutimestampSeconds
Definition: DataStructs_Interface.h:16
double swtimestampSeconds
Definition: DataStructs_Interface.h:15
double outValue
Definition: DataStructs_Interface.h:12
int error
Definition: DataStructs_Interface.h:17
Definition: DataStructs_Interface.h:21
uint32_t deviceHash
Definition: DataStructs_Interface.h:22
uint32_t spn
Definition: DataStructs_Interface.h:23