|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
13 #ifndef IINTERRUPTSTATUS_HPP
14 #define IINTERRUPTSTATUS_HPP
92 return (
self.valid) && (other.valid)
93 && (
self.code == other.code)
94 && (
self.gpioIdx == other.gpioIdx)
95 && (
self.linkMask == other.linkMask);
104 return !(
self == other);
165 uint32_t
const gpioIdx,
166 std::array<InterruptNotification, MAX_DEVGRP_NTFNS_PER_INTR> &intrNtfns)
const noexcept
168 static_cast<void>(gpioIdx);
169 static_cast<void>(intrNtfns[0]);
253 #endif // IINTERRUPTSTATUS_HPP
Empty (invalid) InterruptNotification.
uint32_t linkMask
The one-hot link masks indicating which Camera Module link(s) this notification describes.
SIPLStatus
Defines the status codes returned by functions in NvSIPL modules.
static constexpr uint32_t ERRMON_INTR_POLL_INTERVAL_MS
Polling interval in milliseconds for the error monitor interrupt status.
@ NVSIPL_STATUS_NOT_SUPPORTED
Indicates an unsupported operation or argument was encountered.
InterruptCode
Interrupt Status Codes.
Interface defining Interrupt Status functionality.
friend bool operator==(InterruptNotification const &self, InterruptNotification const &other) noexcept
Equality comparison operator.
uint32_t gpioIdx
The interrupt CDAC GPIO index.
bool valid
Whether this interrupt notification is valid (filled).
static constexpr uint32_t MAX_DEVGRP_NTFNS_PER_INTR
Maximum number of error notifications to dispatch to the client per device group (i....
uint64_t data
Fixed-sized storage for custom driver-defined payload.
IInterruptStatus & operator=(IInterruptStatus const &) &=delete
Prevent IInterruptStatus from being copy assigned.
virtual SIPLStatus GetInterruptStatus(uint32_t const gpioIdx, std::array< InterruptNotification, MAX_DEVGRP_NTFNS_PER_INTR > &intrNtfns) const noexcept
Requests the driver to query the status of a device in response to an asserted interrupt,...
IInterruptStatus()=default
Constructor.
virtual ~IInterruptStatus()=default
destructor
@ INTR_STATUS_FAILURE
Device Block or Camera Link-level event, indicates general failure.
InterruptCode code
The interrupt code to send to the client in the notification.
Interrupt Notification from hardware device drivers to be delivered to the client.
friend bool operator!=(InterruptNotification const &self, InterruptNotification const &other) noexcept
Inequality comparison operator.
Describes the custom interface for IMX623.
virtual SIPLStatus ResetInterruptNotifications() const
Resets the interrupt notifications in the driver context.