NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
IMX728SL_CustomInterface.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef IMX728SL_CUSTOMINTERFACE_HPP
14 #define IMX728SL_CUSTOMINTERFACE_HPP
15 
17 #include "IMX728SL_CustomData.h"
18 #include "MAX96717F_CustomData.h"
19 
20 
29 namespace nvsipl {
30 
37 constexpr UUID IMX728_CUSTOM_INTERFACE_ID(0xBCE64356U, 0x1505U, 0x11EDU, 0x861DU,
38  0x02U, 0x42U, 0xACU, 0x12U, 0x00U, 0x02U);
39 
44 public:
45 
81  static const UUID& getClassInterfaceID() {
83  }
119  const UUID& getInstanceInterfaceID() const noexcept override {
121  }
122 
170  uint8_t const * const embeddedBufBot,
171  uint32_t const embeddedBufBotSize,
172  IMX728CustomEmbeddedData * const customEmbData) const = 0;
173 
207  virtual SIPLStatus CheckModuleStatus() = 0;
208 
241  virtual SIPLStatus SetCustomValue(uint32_t const valueToSet) = 0;
242 
275  virtual SIPLStatus GetCustomValue(uint32_t * const valueToGet) = 0;
276 
277 protected:
278 
280  IMX728_CustomInterface() = default;
281 
284 
287 
290 
293 
297  ~IMX728_CustomInterface() = default;
298 };
299 }
302 #endif //IMX728SL_CUSTOMINTERFACE_HPP
IMX728SL_CustomData.h
nvsipl::SIPLStatus
SIPLStatus
Defines the status codes returned by functions in NvSIPL modules.
Definition: NvSIPLCommon.hpp:168
nvsipl::IMX728_CUSTOM_INTERFACE_ID
constexpr UUID IMX728_CUSTOM_INTERFACE_ID(0xBCE64356U, 0x1505U, 0x11EDU, 0x861DU, 0x02U, 0x42U, 0xACU, 0x12U, 0x00U, 0x02U)
This is version 4 UUID obtained using https://www.uuidgenerator.net/ It's unique to IMX728 custom int...
nvsipl::IMX728_CustomInterface::~IMX728_CustomInterface
~IMX728_CustomInterface()=default
Default destructor of class IMX728_CustomInterface.
nvsipl::IMX728_CustomInterface::getClassInterfaceID
static const UUID & getClassInterfaceID()
Get Sensor IMX728 class custom interface ID.
Definition: IMX728SL_CustomInterface.hpp:81
nvsipl::IMX728_CustomInterface::SetCustomValue
virtual SIPLStatus SetCustomValue(uint32_t const valueToSet)=0
Sample "set value" API.
MAX96717F_CustomData.h
INvSIPLDeviceInterfaceProvider.hpp
NVIDIA SIPL: Device Interface Provider Interface
IMX728CustomEmbeddedData
Describes the Custom Embedded Data needed by the application.
Definition: IMX728SL_CustomData.h:43
nvsipl::UUID
A universally unique identifier.
Definition: INvSIPLDeviceInterfaceProvider.hpp:33
nvsipl::IMX728_CustomInterface::ParseCustomEmbeddedData
virtual SIPLStatus ParseCustomEmbeddedData(uint8_t const *const embeddedBufBot, uint32_t const embeddedBufBotSize, IMX728CustomEmbeddedData *const customEmbData) const =0
Parse the custom embedded data from the passed raw data.
nvsipl::Interface
Top-level interface class implementable for a particular device.
Definition: INvSIPLDeviceInterfaceProvider.hpp:146
nvsipl::IMX728_CustomInterface::IMX728_CustomInterface
IMX728_CustomInterface()=default
Default Constructor of class IMX728_CustomInterface.
nvsipl::IMX728_CustomInterface
The class of custom interfaces in Sensor IMX728.
Definition: IMX728SL_CustomInterface.hpp:43
nvsipl::IMX728_CustomInterface::GetCustomValue
virtual SIPLStatus GetCustomValue(uint32_t *const valueToGet)=0
Sample "get value" API This type of custom API can be used to read a register value,...
nvsipl::IMX728_CustomInterface::operator=
IMX728_CustomInterface & operator=(IMX728_CustomInterface const &) &=delete
Prevent default copy assignment operator of class IMX728_CustomInterface.
nvsipl::IMX728_CustomInterface::CheckModuleStatus
virtual SIPLStatus CheckModuleStatus()=0
Check the module availability.
nvsipl
Describes the custom interface for IMX623.
Definition: AR0820_CUST1_CustomInterface.hpp:21
nvsipl::IMX728_CustomInterface::getInstanceInterfaceID
const UUID & getInstanceInterfaceID() const noexcept override
Get Sensor IMX728 instance custom interface ID.
Definition: IMX728SL_CustomInterface.hpp:119