|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
13 #ifndef NVSIPLGPIOINTERRUPTS_HPP
14 #define NVSIPLGPIOINTERRUPTS_HPP
136 std::optional<uint64_t>
data {};
161 std::array<SIPLGpioDriverResult, MAX_GPIO_EVENT_DRIVER_RESULTS>
driverResults {};
169 #endif // NVSIPLGPIOINTERRUPTS_HPP
SIPLGpioResponderGMSLDeviceType deviceType
Holds the GMSL device class that produced the result.
std::optional< uint64_t > data
Holds optional driver-defined compact data for this result.
std::array< SIPLGpioDriverResult, MAX_GPIO_EVENT_DRIVER_RESULTS > driverResults
Holds reported ISR responder results for this GPIO event notification.
SIPLGpioResponderGMSLDeviceType
Defines the GMSL device class that produced a GPIO interrupt result.
@ ERROR
Driver could not safely inspect the interrupt source.
@ UNCLAIMED
Driver checked this responder's device and determined it is not the interrupt source.
uint32_t deviceIndex
Holds responder device index, or UINT32_MAX when not applicable.
SIPLGpioInterruptDisposition
Defines the driver response to a GPIO interrupt.
SIPLGpioResponderScope scope
Holds whether the result is aggregator-level or pipeline-scoped.
uint32_t flags
Holds the aggregated NVSIPL_GPIO_DEVICE_* source flags.
uint32_t pipelineIndex
Holds the pipeline index that received this notification.
@ UNKNOWN
Scope is unknown.
@ UNKNOWN
Device class is unknown.
NVIDIA SIPL: Common Data Structures - NvSIPL
@ SERIALIZER
GPIO source is a serializer.
uint8_t respondersConsulted
Holds the number of ISR responders consulted for this event.
SIPLGpioResponderScope
Defines the scope of a GPIO responder result.
@ MODULE_OTHER
GPIO source is another module-local device.
SIPLGpioEvent
CDAC GPIO event codes.
static constexpr uint8_t MAX_GPIO_EVENT_DRIVER_RESULTS
Indicates the maximum number of GPIO driver results returned for one GPIO event notification.
Describes one driver result from GPIO interrupt responder handling.
@ AGGREGATOR
Result is produced by a group-level aggregator.
@ DESERIALIZER_POWER
GPIO source is a deserializer power device.
@ CLAIMED
Driver confirmed this responder's device is the interrupt source.
uint32_t groupId
Holds the GPIO group, normally the GMSL transport I2C bus.
@ CLAIMED_NEEDS_DIAGNOSTIC
Driver confirmed this responder's device is the interrupt source and recommends querying the existing...
Describes GPIO event information carried by a pipeline notification.
@ DESERIALIZER
GPIO source is the deserializer.
@ SENSOR
GPIO source is a sensor.
@ MODULE_POWER
GPIO source is a module power device.
uint8_t numDriverResults
Holds the number of valid reported entries in driverResults.
Describes the custom interface for IMX623.
@ NVSIPL_GPIO_EVENT_NOTHING
There is no pending event.
@ PIPELINE
Result applies to the pipeline that received the notification.
uint32_t gpioIdx
Holds the GPIO index from the platform configuration.
SIPLGpioInterruptDisposition disposition
Holds the driver disposition for this GPIO interrupt source.