|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
13 #ifndef NVSIPLCOMMON_HPP
14 #define NVSIPLCOMMON_HPP
30 #define SIPL_TRUE (0 == 0)
33 #define SIPL_FALSE (0 == 1)
44 #define NVSIPL_GPIO_DEVICE_DESERIALIZER (static_cast<uint32_t>(1U) << 0U)
46 #define NVSIPL_GPIO_DEVICE_SERIALIZER_0 (static_cast<uint32_t>(1U) << 8U)
48 #define NVSIPL_GPIO_DEVICE_SERIALIZER_1 (static_cast<uint32_t>(1U) << 9U)
50 #define NVSIPL_GPIO_DEVICE_SERIALIZER_2 (static_cast<uint32_t>(1U) << 10U)
52 #define NVSIPL_GPIO_DEVICE_SERIALIZER_3 (static_cast<uint32_t>(1U) << 11U)
54 #define NVSIPL_GPIO_DEVICE_SENSOR_0 (static_cast<uint32_t>(1U) << 16U)
56 #define NVSIPL_GPIO_DEVICE_SENSOR_1 (static_cast<uint32_t>(1U) << 17U)
58 #define NVSIPL_GPIO_DEVICE_SENSOR_2 (static_cast<uint32_t>(1U) << 18U)
60 #define NVSIPL_GPIO_DEVICE_SENSOR_3 (static_cast<uint32_t>(1U) << 19U)
62 #define NVSIPL_GPIO_DEVICE_INTR_ERR (static_cast<uint32_t>(1U) << 24U)
64 #define NVSIPL_GPIO_DEVICE_INTR_ERR_GETSTATUS (static_cast<uint32_t>(1U) << 25U)
69 #define NVSIPL_GPIO_DEVICE_SERIALIZER_SHIFT (8U)
71 #define NVSIPL_GPIO_DEVICE_SENSOR_SHIFT (16U)
281 #endif // NVSIPLCOMMON_HPP
@ NVSIPL_STATUS_FAULT_STATE
Indicates module is in non-recoverable fault state.
float_t y
Holds the vertical location of the point.
SIPLStatus
Defines the status codes returned by functions in NvSIPL modules.
@ NVSIPL_GPIO_EVENT_INTR
An interrupt has occured.
uint16_t x1
Right X co-ordinate.
@ NVSIPL_STATUS_INVALID_STATE
Indicates a module is in an invalid state.
@ NVSIPL_STATUS_NOT_SUPPORTED
Indicates an unsupported operation or argument was encountered.
uint16_t y1
Bottom Y co-ordinate.
@ NVSIPL_TIME_BASE_CLOCK_USER_DEFINED
Specifies that a user defined clock is used for base time calculation.
@ NVSIPL_STATUS_OK
Indicates the operation completed successfully without errors.
@ NVSIPL_STATUS_OUT_OF_MEMORY
Indicates an out of memory or other system resource error was encountered.
@ NVSIPL_TIME_BASE_CLOCK_MONOTONIC
Specifies that kernel monotonic clock is used for base time calculation.
size_t sizeWritten
Holds size of error written to the buffer, filled by driver.
SIPLModuleErrorReadFlag
Flag indicating which module errors to read.
Error details for a particular device.
uint16_t x0
Left X co-ordinate.
@ NVSIPL_GPIO_EVENT_INTR_INJECTED
A synthetic interrupt event is injected to continue fault handling when GPIO is stuck in fault state.
@ NVSIPL_GPIO_EVENT_ERROR_UNKNOWN
A generic error occurred, potentially resulting in permanent loss of functionality.
int32_t x
Holds the horizontal location of the point.
@ NVSIPL_STATUS_TIMED_OUT
Indicates an operation timed out.
@ NVSIPL_GPIO_EVENT_ERROR_BACKEND
An error occurred in backend code, potentially resulting in permanent loss of functionality.
SIPLGpioEvent
CDAC GPIO event codes.
Defines the location of a point on a two-dimensional object.
@ NVSIPL_STATUS_BAD_ARGUMENT
Indicates one or more invalid arguments was encountered.
@ NVSIPL_GPIO_EVENT_ERROR_CAMGPIO
An error occurred in CAMGPIO code, potentially resulting in permanent loss of functionality.
@ NVSIPL_MODULE_ERROR_READ_ALL
Read both sensor and serializer error information when getting error details.
@ NVSIPL_TIME_BASE_CLOCK_PTP
Specifies that PTP clock is used for base time calculation.
uint64_t NvSiplGlobalTime
Media global time, measured in microseconds.
SIPL provides abstract and simple API to capture the output of image sensors with optional image proc...
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_STATUS_EOF
Indicates that end of file has been reached.
@ NVSIPL_MODULE_ERROR_READ_SENSOR
Read only sensor error information when getting module error details.
@ NVSIPL_GPIO_EVENT_INTR_TIMEOUT
An interrupt timeout period has elapsed.
uint16_t y0
Top Y co-ordinate.
uint32_t NvSiplBool
A boolean value, holding SIPL_TRUE or SIPL_FALSE.
Defines the float-precision location of a point on a two-dimensional object.
@ NVSIPL_STATUS_ERROR
Indicates an unspecified error that is used when no other error code applies.
float_t x
Holds the horizontal location of the point.
@ NVSIPL_MODULE_ERROR_READ_SERIALIZER
Read only serializer error information when getting error details.
int32_t y
Holds the vertical location of the point.
Describes the custom interface for IMX623.
@ NVSIPL_GPIO_EVENT_NOTHING
There is no pending event.
@ NVSIPL_STATUS_NOT_INITIALIZED
Indicates a module was not initialized.
@ NVSIPL_STATUS_RESOURCE_ERROR
Indicates a resource error was encountered.
NvSiplTimeBase
Defines clock base for NvSiplTime.