DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

HealthSignals.h
Go to the documentation of this file.
1
2// This code contains NVIDIA Confidential Information and is disclosed
3// under the Mutual Non-Disclosure Agreement.
4//
5// Notice
6// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS"
7// NVIDIA MAKES NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY,
8// OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY
9// IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A
10// PARTICULAR PURPOSE.
11//
12// NVIDIA Corporation assumes no responsibility for the consequences of use of
13// such information or for any infringement of patents or other rights of third
14// parties that may result from its use. No license is granted by implication or
15// otherwise under any patent or patent rights of NVIDIA Corporation. No third
16// party distribution is allowed unless expressly authorized by NVIDIA. Details
17// are subject to change without notice. This code supersedes and replaces all
18// information previously supplied. NVIDIA Corporation products are not
19// authorized for use as critical components in life support devices or systems
20// without express written approval of NVIDIA Corporation.
21//
22// Copyright (c) 2016-2023 NVIDIA Corporation. All rights reserved.
23//
24// NVIDIA Corporation and its licensors retain all intellectual property and
25// proprietary rights in and to this software and related documentation and any
26// modifications thereto. Any use, reproduction, disclosure or distribution of
27// this software and related documentation without an express license agreement
28// from NVIDIA Corporation is strictly prohibited.
29//
31#ifndef DW_CORE_HEALTH_HEALTHSIGNALS_H_
32#define DW_CORE_HEALTH_HEALTHSIGNALS_H_
33// Generated by dwProto from health_signals.proto DO NOT EDIT BY HAND!
34// See //3rdparty/shared/dwproto/README.md for more information
35
61
62#ifdef __cplusplus
63extern "C" {
64#endif
65
66#define DW_MAX_ERROR_SIGNAL_ERRORS_COUNT 32U
67#define DW_MAX_ERROR_TYPES_PER_MODULE 208U
69#define DW_MAX_HEALTH_BYTEARRAY_SIZE 862U
71#define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE 64
72
76typedef struct dwErrorSignal
77{
80
82 uint16_t sourceID;
83
85 size_t count;
86
90
95typedef struct dwHealthSignal
96{
99
101 uint16_t sourceID;
102
104 size_t count;
105
108
110 size_t dataSize;
111
115
120{
122 // coverity[misra_c_2012_rule_21_2_violation] RFD Pending: TID-3000
124 uint32_t count;
126
127#ifdef __cplusplus
128}
129#endif
130
134#endif // DW_CORE_HEALTH_HEALTHSIGNALS_H_
NVIDIA DriveWorks API: Core BasicTypes
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:65
uint32_t count
Stores the occupied/valid length of signal.
dwTime_t timestamp
timestamp at which the health status was last updated, filled by module
Definition: HealthSignals.h:98
uint32_t errorIDs[DW_MAX_ERROR_SIGNAL_ERRORS_COUNT]
module defined error
Definition: HealthSignals.h:88
uint16_t sourceID
module id, automatically filled
dwHealthSignal signal[DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE]
The individual signals.
size_t count
the number of errors in errorIds
uint8_t data[DW_MAX_HEALTH_BYTEARRAY_SIZE]
optional byte array for additional information
size_t count
the number of errors in errorIds
Definition: HealthSignals.h:85
uint32_t errorIDs[DW_MAX_ERROR_SIGNAL_ERRORS_COUNT]
module defined error
dwTime_t timestamp
timestamp at which the error occured, filled by module
Definition: HealthSignals.h:79
uint16_t sourceID
module id, automatically filled
Definition: HealthSignals.h:82
size_t dataSize
bytes used in the optional byte array
#define DW_MAX_HEALTH_SIGNAL_ARRAY_SIZE
The maximum number of individual dwHealthSignal that can be stored in a dwHealthSignalArray.
Definition: HealthSignals.h:71
#define DW_MAX_HEALTH_BYTEARRAY_SIZE
The size of the data field in dwHealthSignal.
Definition: HealthSignals.h:69
#define DW_MAX_ERROR_SIGNAL_ERRORS_COUNT
Definition: HealthSignals.h:66
Basic error signal that gets reported only when there is an error.
Definition: HealthSignals.h:77
Basic health signal that describes the health status of a particular software element.
Definition: HealthSignals.h:96
Represents an array of health signals.