NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvsipl::IMX390_CUST1_V2_CustomInterface Class Referenceabstract

Detailed Description

Definition at line 28 of file IMX390_CUST1_V2_CustomInterface.hpp.

Inheritance diagram for nvsipl::IMX390_CUST1_V2_CustomInterface:
Collaboration diagram for nvsipl::IMX390_CUST1_V2_CustomInterface:

Public Member Functions

virtual SIPLStatus getSerializerTemperature (float_t &tmon1, float_t &tmon2) const =0
 Get MAX96717F Serializer Temperature data. More...
 
virtual SIPLStatus runDiagSM (IMX390RunSMType const smType) const =0
 Runs various diagnostic SMs on request. More...
 
virtual SIPLStatus getSMStatus (MAX96717FSMErrIndex const index, uint8_t &store) const =0
 Get MAX96717F SM status information. More...
 
virtual SIPLStatus getEOMValue (uint8_t &eomValue) const =0
 Get MAX96717F EOM value. More...
 
virtual SIPLStatus setSelfClearUnlock (bool const onOff) const =0
 MAX96717F SM30 SelfClearUnlock on / off. More...
 
virtual SIPLStatus readRegisterMAX96717F (uint16_t registerNum, uint32_t dataLength, uint8_t *dataBuff) const =0
 Read MAX96717F serializer register (Debug API - Non-Safety Only) More...
 
virtual SIPLStatus writeRegisterMAX96717F (uint16_t registerNum, uint32_t dataLength, uint8_t *dataBuff) const =0
 Write MAX96717F serializer register (Debug API - Non-Safety Only) More...
 
virtual SIPLStatus setDeserData (uint32_t deviceIndex, uint32_t registerNum, uint32_t dataLength, uint8_t *dataBuff) const =0
 Set deserializer register data (Debug API - Non-Safety Only) More...
 
virtual SIPLStatus getDeserData (uint32_t deviceIndex, uint32_t registerNum, uint32_t dataLength, uint8_t *dataBuff) const =0
 Get deserializer register data (Debug API - Non-Safety Only) More...
 
virtual SIPLStatus getSensorTemperature (int8_t &temperature) const =0
 Get the Sensor Temperature object. More...
 
virtual SIPLStatus setImageROIConfig (IMX390ROIConfig const &configROI) const =0
 Set the Image ROI config parameters. More...
 
virtual SIPLStatus setImageOrientation (uint8_t const horzFlip, uint8_t const vertFlip) const =0
 Set the Image Orientation object. More...
 
virtual SIPLStatus CheckSensorComReady () const =0
 check sensor ready More...
 
virtual SIPLStatus GetMFPState (IMX390MFPType const type, uint8_t &state) const =0
 Gets the MFP pin state. More...
 
virtual SIPLStatus ReadEEPROMData (IMX390EEPROMData &eepromData) const =0
 Read the raw data bytes from the sensor's EEPROM module. More...
 
virtual SIPLStatus ReadPMICRegs (PMICStatusRegs const regType, uint8_t *const data, uint16_t const dataLen) const =0
 Write PMIC register values. More...
 
virtual SIPLStatus WritePMICRegs (PMICStatusRegs const regType, uint8_t const *const data, uint16_t const dataLen) const =0
 Write PMIC register values. More...
 
virtual SIPLStatus ReadIMX390Regs (IMX390StatusRegs const regType, uint8_t *const data, uint32_t const dataLen) const =0
 Read Initial Setting Check register values. More...
 
virtual SIPLStatus ParseCustomEmbeddedData (uint8_t const *const embeddedBufTop, uint32_t const embeddedBufTopSize, uint8_t const *const embeddedBufBottom, uint32_t const embeddedBufBottomSize, IMX390CustomEmbeddedData *const embeddedData) const =0
 Parse the Custom Embedded Data from the passed raw embedded data. More...
 
virtual SIPLStatus readRegisterIMX390 (uint16_t registerNum, uint32_t dataLength, uint8_t *dataBuff) const =0
 Read register data from IMX390 sensor (Debug API - Non-Safety Only) More...
 
virtual SIPLStatus writeRegisterIMX390 (uint16_t registerNum, uint32_t dataLength, uint8_t *dataBuff) const =0
 Write register data to IMX390 sensor (Debug API - Non-Safety Only) More...
 
virtual SIPLStatus AssertErrb (const bool assertDeassert) const =0
 Assert / De-Assert the MAX96717F Serializer ERRB. More...
 
virtual SIPLStatus regReadbackAndVerify (IMX390I2cReadbackPeripheral const peripheral) const =0
 Perform I2C register readback and verification. More...
 
virtual const UUID & getInstanceInterfaceID () const noexcept=0
 A call to get the ID from the instance of the class inheriting this interface. More...
 

Member Function Documentation

◆ AssertErrb()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::AssertErrb ( const bool  assertDeassert) const
pure virtual

Assert / De-Assert the MAX96717F Serializer ERRB.

Parameters
[in]assertDeasserttrue is assert / false is deassert
Return values
NVSIPL_STATUS_OKon completion.
NVSIPL_STATUS_ERRORfor any system error


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ CheckSensorComReady()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::CheckSensorComReady ( ) const
pure virtual

check sensor ready

Return values
NVSIPL_STATUS_OKon success
(SIPLStatus)other propagated error


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ getDeserData()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::getDeserData ( uint32_t  deviceIndex,
uint32_t  registerNum,
uint32_t  dataLength,
uint8_t *  dataBuff 
) const
pure virtual

Get deserializer register data (Debug API - Non-Safety Only)

This function reads data from deserializer registers for debug and development purposes. Not supported in safety builds.

Parameters
[in]deviceIndexThe device index. Valid range: [0, UINT32_MAX]
[in]registerNumThe register number. Valid range: [0, UINT32_MAX]
[in]dataLengthLength of data to read. Valid range: [0, UINT32_MAX]
[out]dataBuffBuffer to store read data. Valid value: [non-NULL]
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTArgument validation failed
NVSIPL_STATUS_ERRORRegister read failed


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: Experimental

◆ getEOMValue()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::getEOMValue ( uint8_t &  eomValue) const
pure virtual

Get MAX96717F EOM value.

Parameters
[out]eomValueEOM value to be filled in to this.
Return values
NVSIPL_STATUS_OKon completion.
NVSIPL_STATUS_BAD_ARGUMENTon invalid input format.
NVSIPL_STATUS_ERRORfor any system error.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ getInstanceInterfaceID()

virtual const UUID& nvsipl::Interface::getInstanceInterfaceID ( ) const
pure virtualnoexceptinherited

A call to get the ID from the instance of the class inheriting this interface.

Return values
Uniqueidentifier for the interface instance


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: No
    • Reinit/Deinit Preparation: No
  • Maturity: GA

Implemented in nvsipl::OvtHDRBayerRX0CustomInterface, nvsipl::OvtSDRRGBIrRX0CustomInterface, nvsipl::OvtSDRMonoRX0CustomInterface, nvsipl::MAX96712FusaNvCustomInterface, nvsipl::MAX96724FusaNvCustomInterface, nvsipl::MAX96792ACustomInterface, nvsipl::IMX728_CustomInterface, nvsipl::IMX728_CustomInterface, nvsipl::IMX623_CustomInterface, nvsipl::OvtDefaultCustomInterface, and nvsipl::INvSIPLISPStatCustomInterface.

◆ GetMFPState()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::GetMFPState ( IMX390MFPType const  type,
uint8_t &  state 
) const
pure virtual

Gets the MFP pin state.

Parameters
[in]mfpTypeMFP pin type.
[out]stateState of the MFP pin (range: 0-1U).
Return values
NVSIPL_STATUS_OKCall successful.
NVSIPL_STATUS_BAD_ARGUMENTSeriailizer pointer is NULL.
NVSIPL_STATUS_ERROR
  • Unsupported MFP pin type passed.
  • MFP pin status read failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ getSensorTemperature()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::getSensorTemperature ( int8_t &  temperature) const
pure virtual

Get the Sensor Temperature object.

Parameters
[out]temperaturereference to hold sensor temperature
Return values
NVSIPL_STATUS_OKon success
(SIPLStatus)other propagated error


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ getSerializerTemperature()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::getSerializerTemperature ( float_t &  tmon1,
float_t &  tmon2 
) const
pure virtual

Get MAX96717F Serializer Temperature data.

MAX96717F Serializer has two temperature sensors. This function returned two temperature sensor data.

Parameters
[out]tmon1temperature sensor 1 reading in celsius.
[out]tmon2temperature sensor 2 reading in celsius.
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTupSerializer is NULL
NVSIPL_STATUS_ERRORany system error.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ getSMStatus()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::getSMStatus ( MAX96717FSMErrIndex const  index,
uint8_t &  store 
) const
pure virtual

Get MAX96717F SM status information.

Parameters
[in]indexWhich SM status information is gethering.
[out]storeStored a SM status register value.
Return values
NVSIPL_STATUS_OKon completion.
NVSIPL_STATUS_BAD_ARGUMENTon invalid input format.
NVSIPL_STATUS_ERRORfor any system error.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ ParseCustomEmbeddedData()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::ParseCustomEmbeddedData ( uint8_t const *const  embeddedBufTop,
uint32_t const  embeddedBufTopSize,
uint8_t const *const  embeddedBufBottom,
uint32_t const  embeddedBufBottomSize,
IMX390CustomEmbeddedData *const  embeddedData 
) const
pure virtual

Parse the Custom Embedded Data from the passed raw embedded data.

This fuction is used by the application to retrieve the Custom Embedded Data from the passed raw embedded data. The caller of this function needs to allocate the memory.

Parameters
[in]embeddedBufTopBuffer pointer to top chunk of embedded data.
[in]embeddedBufTopSizeSize of top chunk of embedded data.
[in]embeddedBufBotBuffer pointer to bottom chunk of embedded data.
[in]embeddedBufBotSizeSize of bottom chunk of embedded data.
[out]embeddedDataCustom Embedded data from IMX390.
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTArgument validation failed


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ ReadEEPROMData()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::ReadEEPROMData ( IMX390EEPROMData &  eepromData) const
pure virtual

Read the raw data bytes from the sensor's EEPROM module.

Parameters
[out]eepromDataEEPROM data strucutre to be filled.
Return values
NVSIPL_STATUS_OKRead was successful.
NVSIPL_STATUS_ERRORRead failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ ReadIMX390Regs()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::ReadIMX390Regs ( IMX390StatusRegs const  regType,
uint8_t *const  data,
uint32_t const  dataLen 
) const
pure virtual

Read Initial Setting Check register values.

Parameters
[in]regTypeRegister to read.
[out]dataData pointer to be filled with register data.
[in]dataLenLength of the input data memory.
Return values
NVSIPL_STATUS_OKRead was successful.
NVSIPL_STATUS_ERRORRead failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ ReadPMICRegs()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::ReadPMICRegs ( PMICStatusRegs const  regType,
uint8_t *const  data,
uint16_t const  dataLen 
) const
pure virtual

Write PMIC register values.

Parameters
[in]regTypeRegister to read.
[out]dataData pointer to be filled with register data.
[in]dataLenLength of the input data memory.
Return values
NVSIPL_STATUS_OKRead was successful.
NVSIPL_STATUS_ERRORRead failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ readRegisterIMX390()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::readRegisterIMX390 ( uint16_t  registerNum,
uint32_t  dataLength,
uint8_t *  dataBuff 
) const
pure virtual

Read register data from IMX390 sensor (Debug API - Non-Safety Only)

Parameters
[in]registerNumThe sensor register address to read from.
[in]dataLengthNumber of bytes to read.
[out]dataBuffBuffer to store the read data. Valid range: [non-NULL].
Return values
NVSIPL_STATUS_OKIf register data was read successfully.
NVSIPL_STATUS_BAD_ARGUMENTInput parameter validation failed.
(SIPLStatus)Any errors from dependencies.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: Experimental

◆ readRegisterMAX96717F()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::readRegisterMAX96717F ( uint16_t  registerNum,
uint32_t  dataLength,
uint8_t *  dataBuff 
) const
pure virtual

Read MAX96717F serializer register (Debug API - Non-Safety Only)

This function reads a register from the MAX96717F serializer for debug and development purposes. Not supported in safety builds.

Parameters
[in]registerNumThe register number. Valid range: [0, UINT16_MAX]
[in]dataLengthLength of data to read. Valid range: [0, UINT32_MAX]
[out]dataBuffBuffer to store read data. Valid value: [non-NULL]
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTArgument validation failed
NVSIPL_STATUS_ERRORRegister read failed


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: Experimental

◆ regReadbackAndVerify()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::regReadbackAndVerify ( IMX390I2cReadbackPeripheral const  peripheral) const
pure virtual

Perform I2C register readback and verification.

This function reads back and verifies I2C register values for the specified peripheral device to ensure data integrity and proper configuration.

Precondition
Device must be initialized and operational.
Parameters
[in]peripheralThe peripheral device to verify. Valid values: See IMX390I2cReadbackPeripheral
Return values
NVSIPL_STATUS_OKSuccess, all registers verified
NVSIPL_STATUS_BAD_ARGUMENTInvalid peripheral specified
NVSIPL_STATUS_ERRORVerification failed or mismatch detected


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ runDiagSM()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::runDiagSM ( IMX390RunSMType const  smType) const
pure virtual

Runs various diagnostic SMs on request.

Parameters
[in]smTypeThe SM type to run.
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTInput parameter is invalid.
NVSIPL_STATUS_ERROROther system error.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ setDeserData()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::setDeserData ( uint32_t  deviceIndex,
uint32_t  registerNum,
uint32_t  dataLength,
uint8_t *  dataBuff 
) const
pure virtual

Set deserializer register data (Debug API - Non-Safety Only)

This function writes data to deserializer registers for debug and development purposes. Not supported in safety builds.

Parameters
[in]deviceIndexThe device index. Valid range: [0, UINT32_MAX]
[in]registerNumThe register number. Valid range: [0, UINT32_MAX]
[in]dataLengthLength of data to write. Valid range: [0, UINT32_MAX]
[in]dataBuffBuffer containing data to write. Valid value: [non-NULL]
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTArgument validation failed
NVSIPL_STATUS_ERRORRegister write failed


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: Experimental

◆ setImageOrientation()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::setImageOrientation ( uint8_t const  horzFlip,
uint8_t const  vertFlip 
) const
pure virtual

Set the Image Orientation object.

Parameters
[in]horzFliphorizonatal value
[in]vertFlipvertical value
Return values
NVSIPL_STATUS_OKon success
(SIPLStatus)other propagated error


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ setImageROIConfig()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::setImageROIConfig ( IMX390ROIConfig const &  configROI) const
pure virtual

Set the Image ROI config parameters.

Parameters
[in]configROIImage ROI configuration parameters.
Return values
NVSIPL_STATUS_OKCall successful.
NVSIPL_STATUS_BAD_ARGUMENTInvalid input argument.
NVSIPL_STATUS_ERRORSet image ROI configuration failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ setSelfClearUnlock()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::setSelfClearUnlock ( bool const  onOff) const
pure virtual

MAX96717F SM30 SelfClearUnlock on / off.

The writing value didn't update to the register value after enable(on) this feature. If need to update the register to writing value, should need to disable(off) before writing any register.

Parameters
[in]onOffSelfClearUnlock on or off
Return values
NVSIPL_STATUS_OKon completion.
NVSIPL_STATUS_BAD_ARGUMENTif device handle is null.
NVSIPL_STATUS_ERRORfor any system error.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ WritePMICRegs()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::WritePMICRegs ( PMICStatusRegs const  regType,
uint8_t const *const  data,
uint16_t const  dataLen 
) const
pure virtual

Write PMIC register values.

Parameters
[in]regTypeRegister to read.
[out]dataPointer to the data to write.
[in]dataLenLength of the input data memory to be filled.
Return values
NVSIPL_STATUS_OKRead was successful.
NVSIPL_STATUS_ERRORRead failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ writeRegisterIMX390()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::writeRegisterIMX390 ( uint16_t  registerNum,
uint32_t  dataLength,
uint8_t *  dataBuff 
) const
pure virtual

Write register data to IMX390 sensor (Debug API - Non-Safety Only)

Parameters
[in]registerNumThe sensor register address to write to.
[in]dataLengthNumber of bytes to write.
[in]dataBuffBuffer containing the data to write. Valid range: [non-NULL].
Return values
NVSIPL_STATUS_OKIf register data was written successfully.
NVSIPL_STATUS_BAD_ARGUMENTInput parameter validation failed.
(SIPLStatus)Any errors from dependencies.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: Experimental

◆ writeRegisterMAX96717F()

virtual SIPLStatus nvsipl::IMX390_CUST1_V2_CustomInterface::writeRegisterMAX96717F ( uint16_t  registerNum,
uint32_t  dataLength,
uint8_t *  dataBuff 
) const
pure virtual

Write MAX96717F serializer register (Debug API - Non-Safety Only)

This function writes a register to the MAX96717F serializer for debug and development purposes. Not supported in safety builds.

Parameters
[in]registerNumThe register number. Valid range: [0, UINT16_MAX]
[in]dataLengthLength of data to write. Valid range: [0, UINT32_MAX]
[in]dataBuffBuffer containing data to write. Valid value: [non-NULL]
Return values
NVSIPL_STATUS_OKSuccess
NVSIPL_STATUS_BAD_ARGUMENTArgument validation failed
NVSIPL_STATUS_ERRORRegister write failed


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: No
    • Async/Sync: Sync
  • Required privileges: Yes, with the following conditions:
    • Grants: nonroot, allow
    • Abilities: public_channel
    • Application needs to have access to the SGIDs that SIPL depends on as mentioned in the NVIDIA DRIVE OS Safety Developer Guide
  • Allowed execution state
    • Initialization: Yes
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: Experimental

The documentation for this class was generated from the following file: