NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvsipl::MAX96724FusaNvCustomInterface Class Referenceabstract

Detailed Description

Definition at line 63 of file MAX96724_Fusa_nv_CustomInterface.hpp.

Inheritance diagram for nvsipl::MAX96724FusaNvCustomInterface:
Collaboration diagram for nvsipl::MAX96724FusaNvCustomInterface:

Public Member Functions

const UUID & getInstanceInterfaceID () const noexcept override
 Function to get interface ID that's unique to this instance. More...
 
virtual SIPLStatus GetOverflowError (uint32_t const deviceIndex, MAX96724DeserializerOverflowErrInfo *const customErrInfo) const =0
 Get deserializer overflow error information. More...
 
virtual SIPLStatus GetCSIPLLLockStatus (uint32_t const deviceIndex, MAX96724DeserializerCSIPLLLockInfo *const customErrInfo) const =0
 Get deserializer CSI PLL Lock status. More...
 
virtual SIPLStatus GetRTFlagsStatus (uint32_t const deviceIndex, MAX96724DeserializerRTFlagsInfo *const customErrInfo) const =0
 Get deserializer RT_CNT_FLAG and MAX_RT_FLAG status. More...
 
virtual SIPLStatus SetHeteroFrameSync (uint8_t const muxSel, uint32_t const gpioNum[MAX_CAMERAMODULES_PER_BLOCK]) const =0
 Set Heterogenous frame synchronization. More...
 
virtual SIPLStatus GetGroupID (uint32_t &grpId) const =0
 Get the camera group ID. More...
 

Static Public Member Functions

static const UUID & getClassInterfaceID ()
 Function to get interface ID that's unique to this class. More...
 

Protected Member Functions

 ~MAX96724FusaNvCustomInterface ()=default
 

Constructor & Destructor Documentation

◆ ~MAX96724FusaNvCustomInterface()

nvsipl::MAX96724FusaNvCustomInterface::~MAX96724FusaNvCustomInterface ( )
protecteddefault

Member Function Documentation

◆ getClassInterfaceID()

static const UUID& nvsipl::MAX96724FusaNvCustomInterface::getClassInterfaceID ( )
inlinestatic

Function to get interface ID that's unique to this class.

This function is used by application to get deserializer's custom interface ID. Application can use this ID to get the interface of the class.

Precondition
None.
Return values
MAX96724_FUSA_NV_CUSTOM_INTERFACE_IDCustom interface id for MAX96724. Valid range : [ MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID].


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

Definition at line 101 of file MAX96724_Fusa_nv_CustomInterface.hpp.

References nvsipl::MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID.

◆ GetCSIPLLLockStatus()

virtual SIPLStatus nvsipl::MAX96724FusaNvCustomInterface::GetCSIPLLLockStatus ( uint32_t const  deviceIndex,
MAX96724DeserializerCSIPLLLockInfo *const  customErrInfo 
) const
pure virtual

Get deserializer CSI PLL Lock status.

Precondition
A valid deserializer object created with CNvMDeserializer_Create().
Parameters
[in]deviceIndexdevice index of deserializer driver.
[out]customErrInfoPointer to structure MAX96724DeserializerCSIPLLLockInfo to hold the error information. Valid range: [non-NULL].
Return values
NVSIPL_STATUS_OKDeserializer CSI PLL Lock status was got 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: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ GetGroupID()

virtual SIPLStatus nvsipl::MAX96724FusaNvCustomInterface::GetGroupID ( uint32_t &  grpId) const
pure virtual

Get the camera group ID.

This function is used to get the camera group ID.

Precondition
  • A valid deserializer object created with CNvMDeserializer_Create().
  • Must be called after CNvMDeserializer::Init().
Parameters
[input]grpId Group Index. Valid range: [0, 3].
Return values
NVSIPL_STATUS_OKCamera group ID was got successfully.
NVSIPL_STATUS_BAD_ARGUMENTInput parameter validation failed.


Usage considerations

  • Allowed context for the API call
    • Interrupt handler: No
    • Signal handler: No
    • Thread-safe: No
    • Re-entrant: Yes
    • 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

◆ getInstanceInterfaceID()

const UUID& nvsipl::MAX96724FusaNvCustomInterface::getInstanceInterfaceID ( ) const
inlineoverridevirtualnoexcept

Function to get interface ID that's unique to this instance.

This function is used by application to get deserializer's custom interface ID and ensure typecasted pointer indeed points to the right object. Application can use this ID to get the interface of the instance.

Precondition
None.
Return values
MAX96724_FUSA_NV_CUSTOM_INTERFACE_IDCustom interface id for MAX96724. Valid range : [ MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID].


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

Implements nvsipl::Interface.

Definition at line 140 of file MAX96724_Fusa_nv_CustomInterface.hpp.

References nvsipl::MAX96724_FUSA_NV_CUSTOM_INTERFACE_ID.

◆ GetOverflowError()

virtual SIPLStatus nvsipl::MAX96724FusaNvCustomInterface::GetOverflowError ( uint32_t const  deviceIndex,
MAX96724DeserializerOverflowErrInfo *const  customErrInfo 
) const
pure virtual

Get deserializer overflow error information.

Checks for line memory overflow and cmd buffer overflow.

Precondition
A valid deserializer object created with CNvMDeserializer_Create().
Parameters
[in]deviceIndexdevice index of deserializer driver.
[out]customErrInfoPointer to structure MAX96724DeserializerOverflowErrInfo to hold the error information. Valid range: [non-NULL].
Return values
NVSIPL_STATUS_OKDeserializer overflow error information was got 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: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ GetRTFlagsStatus()

virtual SIPLStatus nvsipl::MAX96724FusaNvCustomInterface::GetRTFlagsStatus ( uint32_t const  deviceIndex,
MAX96724DeserializerRTFlagsInfo *const  customErrInfo 
) const
pure virtual

Get deserializer RT_CNT_FLAG and MAX_RT_FLAG status.

Precondition
A valid deserializer object created with CNvMDeserializer_Create().
Parameters
[in]deviceIndexdevice index of deserializer driver.
[out]customErrInfoPointer to structure MAX96724DeserializerRTFlagsInfo to hold the error information. Valid range: [non-NULL].
Return values
NVSIPL_STATUS_OKDeserializer RT_CNT_FLAG and MAX_RT_FLAG status was got 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: No
    • Operational: Yes
    • Reinit/Deinit Preparation: No
  • Maturity: GA

◆ SetHeteroFrameSync()

virtual SIPLStatus nvsipl::MAX96724FusaNvCustomInterface::SetHeteroFrameSync ( uint8_t const  muxSel,
uint32_t const  gpioNum[MAX_CAMERAMODULES_PER_BLOCK] 
) const
pure virtual

Set Heterogenous frame synchronization.

This function is used to choose the multiplexer's input source and the GPIO number of the deserializer to select the input frame sync source per link when the external synchronization is used.

Precondition
  • This function is applicable only if the platform has the HW support.
  • Must be called after CNvMDeserializer::Init().
Parameters
[input]muxSel The multiplexer's input selection. Valid range: [0, 3].
[input]gpioNum Array to store the gpio number per link. Valid range: [0, 16].
Return values
NVSIPL_STATUS_OKHeterogenous frame synchronization was set 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: No
    • Reinit/Deinit Preparation: No
  • Maturity: GA

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