Loading [MathJax]/extensions/tex2jax.js
|
NVIDIA DRIVE OS Linux SDK API Reference
|
6.0.8 Release
|
Go to the documentation of this file.
11 #ifndef NVSIPLCOMMON_HPP
12 #define NVSIPLCOMMON_HPP
89 #define SIPL_TRUE (0 == 0)
92 #define SIPL_FALSE (0 == 1)
152 #define NVSIPL_GPIO_DEVICE_DESERIALIZER (1U << 0U)
154 #define NVSIPL_GPIO_DEVICE_SERIALIZER_0 (1U << 8U)
156 #define NVSIPL_GPIO_DEVICE_SERIALIZER_1 (1U << 9U)
158 #define NVSIPL_GPIO_DEVICE_SERIALIZER_2 (1U << 10U)
160 #define NVSIPL_GPIO_DEVICE_SERIALIZER_3 (1U << 11U)
162 #define NVSIPL_GPIO_DEVICE_SENSOR_0 (1U << 16U)
164 #define NVSIPL_GPIO_DEVICE_SENSOR_1 (1U << 17U)
166 #define NVSIPL_GPIO_DEVICE_SENSOR_2 (1U << 18U)
168 #define NVSIPL_GPIO_DEVICE_SENSOR_3 (1U << 19U)
170 #define NVSIPL_GPIO_DEVICE_INTR_ERR (1U << 24U)
172 #define NVSIPL_GPIO_DEVICE_INTR_ERR_GETSTATUS (1U << 25U)
177 #define NVSIPL_GPIO_DEVICE_SERIALIZER_SHIFT (8U)
179 #define NVSIPL_GPIO_DEVICE_SENSOR_SHIFT (16U)
251 #endif // NVSIPLCOMMON_HPP
float_t y
Holds the vertical location of the point.
@ NVSIPL_STATUS_NOT_INITIALIZED
Indicates a module was not initialized.
uint16_t x1
Right X co-ordinate.
@ NVSIPL_STATUS_ERROR
Indicates an unspecified error that is used when no other error code applies.
uint16_t y1
Bottom Y co-ordinate.
SIPLGpioEvent
CDAC GPIO event codes.
SIPLModuleErrorReadFlag
Flag indicating which module errors to read.
size_t sizeWritten
Holds size of error written to the buffer, filled by driver.
@ NVSIPL_GPIO_EVENT_ERROR_BACKEND
An error occurred in backend code, potentially resulting in permanent loss of functionality.
Error details for a particular device.
@ NVSIPL_STATUS_INVALID_STATE
Indicates a module is in an invalid state.
@ NVSIPL_MODULE_ERROR_READ_ALL
Read both sensor and serializer error information when getting error details.
NvSiplTimeBase
Defines clock base for NvSiplTime.
@ NVSIPL_STATUS_OUT_OF_MEMORY
Indicates an out of memory or other system resource error was encountered.
@ NVSIPL_STATUS_BAD_ARGUMENT
Indicates one or more invalid arguments was encountered.
uint16_t x0
Left X co-ordinate.
int32_t x
Holds the horizontal location of the point.
Defines the location of a point on a two-dimensional object.
@ NVSIPL_GPIO_EVENT_INTR_TIMEOUT
An interrupt timeout period has elapsed.
uint64_t NvSiplGlobalTime
Media global time, measured in microseconds.
@ NVSIPL_MODULE_ERROR_READ_SERIALIZER
Read only serializer error information when getting error details.
@ NVSIPL_STATUS_OK
Indicates the operation completed successfully without errors.
SIPLStatus
Defines the status codes returned by functions in SIPL modules.
@ NVSIPL_GPIO_EVENT_NOTHING
There is no pending event.
@ NVSIPL_GPIO_EVENT_ERROR_CDAC
An error occurred in CDAC code, potentially resulting in permanent loss of functionality.
@ NVSIPL_GPIO_EVENT_INTR
An interrupt has occured.
Holds a rectangular region of a surface.
size_t bufferSize
Holds the maximum size of error data which can be contained in the buffer.
std::unique_ptr< uint8_t[]> upErrorBuffer
Buffer which will be filled by driver with error information.
@ NVSIPL_MODULE_ERROR_READ_SENSOR
Read only sensor error information when getting module error details.
uint16_t y0
Top Y co-ordinate.
@ NVSIPL_TIME_BASE_CLOCK_MONOTONIC
Specifies that kernel monotonic clock is used for base time calculation.
Defines the float-precision location of a point on a two-dimensional object.
@ NVSIPL_STATUS_NOT_SUPPORTED
Indicates an unsupported operation or argument was encountered.
@ NVSIPL_STATUS_EOF
Indicates that end of file has been reached.
float_t x
Holds the horizontal location of the point.
uint32_t NvSiplBool
A boolean value, holding SIPL_TRUE or SIPL_FALSE.
int32_t y
Holds the vertical location of the point.
@ NVSIPL_TIME_BASE_CLOCK_PTP
Specifies that PTP clock is used for base time calculation.
Contains the classes and variables for implementation of SIPL.
@ NVSIPL_TIME_BASE_CLOCK_USER_DEFINED
Specifies that a user defined clock is used for base time calculation.
@ NVSIPL_STATUS_RESOURCE_ERROR
Indicates a resource error was encountered.
@ NVSIPL_GPIO_EVENT_ERROR_UNKNOWN
A generic error occurred, potentially resulting in permanent loss of functionality.
@ NVSIPL_STATUS_FAULT_STATE
Indicates module is in non-recoverable fault state.
@ NVSIPL_STATUS_TIMED_OUT
Indicates an operation timed out.
人人超碰97caoporen国产