NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvsipl::OvtSDRMonoRX0CustomInterface Class Referenceabstract

Detailed Description

Definition at line 453 of file OVTCustomInterface.hpp.

Inheritance diagram for nvsipl::OvtSDRMonoRX0CustomInterface:
Collaboration diagram for nvsipl::OvtSDRMonoRX0CustomInterface:

Public Member Functions

const UUID & getInstanceInterfaceID () const noexcept override
 Get Sensor OX5B SDR Mono instance custom interface ID. More...
 
virtual SIPLStatus SetSensorRegisterValue (uint16_t const address, uint8_t const mask, uint8_t const value)=0
 API: SetSensorRegisterValue. More...
 
virtual SIPLStatus GetSensorRegisterValue (uint16_t const address, uint8_t const mask, uint8_t *const value)=0
 API: GetSensorRegisterValue. More...
 
virtual SIPLStatus GetTimeofLine (float_t *const tline)=0
 API: GetTimeofline. More...
 
virtual SIPLStatus SetStrobe (OvtStrobeControl *const strobeCtl)=0
 API: SetStrobe. More...
 

Static Public Member Functions

static const UUID & getClassInterfaceID ()
 Get Sensor OX5B SDR Mono class custom interface ID. More...
 

Protected Member Functions

 ~OvtSDRMonoRX0CustomInterface ()=default
 

Constructor & Destructor Documentation

◆ ~OvtSDRMonoRX0CustomInterface()

nvsipl::OvtSDRMonoRX0CustomInterface::~OvtSDRMonoRX0CustomInterface ( )
protecteddefault

Member Function Documentation

◆ getClassInterfaceID()

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

Get Sensor OX5B SDR Mono class custom interface ID.

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

Precondition
None.
Return values
OVTSDR_MONO_RX0_CUSTOM_INTERFACE_IDCustom interface id for OX5B SDR Mono. Valid value: OVTSDR_MONO_RX0_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 490 of file OVTCustomInterface.hpp.

References nvsipl::OVTSDR_MONO_RX0_CUSTOM_INTERFACE_ID.

◆ getInstanceInterfaceID()

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

Get Sensor OX5B SDR Mono instance custom interface ID.

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

Precondition
None.
Return values
OVTSDR_MONO_RX0_CUSTOM_INTERFACE_IDCustom interface id for OX5B SDR Mono. Valid value: OVTSDR_MONO_RX0_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 528 of file OVTCustomInterface.hpp.

References nvsipl::OVTSDR_MONO_RX0_CUSTOM_INTERFACE_ID.

◆ GetSensorRegisterValue()

virtual SIPLStatus nvsipl::OvtSDRMonoRX0CustomInterface::GetSensorRegisterValue ( uint16_t const  address,
uint8_t const  mask,
uint8_t *const  value 
)
pure virtual

API: GetSensorRegisterValue.

Get one sensor register value

Parameters
[in]addressThe senosr register address.
[in]maskThe mask is used to control which bits in value will be operated
[out]valueThe senosr register value.
Returns
SIPLStatus the completion status of the operation.
Note
  • This custom API is used for test only during IQ tuning process
Precondition
Call after camera init before steaming starts to check value set by SetSensorRegisterValue


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

◆ GetTimeofLine()

virtual SIPLStatus nvsipl::OvtSDRMonoRX0CustomInterface::GetTimeofLine ( float_t *const  tline)
pure virtual

API: GetTimeofline.

Get time of one exposure line

Parameters
[out]tlineThe time of one exposure line (seconds)
Returns
SIPLStatus the completion status of the operation.
Precondition
Call this API after camera starts streaming


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

◆ SetSensorRegisterValue()

virtual SIPLStatus nvsipl::OvtSDRMonoRX0CustomInterface::SetSensorRegisterValue ( uint16_t const  address,
uint8_t const  mask,
uint8_t const  value 
)
pure virtual

API: SetSensorRegisterValue.

Set one sensor register value

Parameters
[in]addressThe senosr register address.
[in]maskThe mask is used to control which bits in value will be operated
[in]valueThe senosr register value.
Returns
SIPLStatus the completion status of the operation.
Note
  • This custom API is used for test only during IQ tuning process
  • Call this API after camera init to override normal value
Precondition
Call after camera init before steaming starts


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

◆ SetStrobe()

virtual SIPLStatus nvsipl::OvtSDRMonoRX0CustomInterface::SetStrobe ( OvtStrobeControl *const  strobeCtl)
pure virtual

API: SetStrobe.

Get time of one exposure line

Parameters
[in]strobeCtlThe strobe configuration
Returns
SIPLStatus the completion status of the operation.
Note
  • Call this API after camera init to override normal configuration
Precondition
Call this API after camera init before camera starts streaming


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: