NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
nvsipl::SensorInfo Struct Reference

Detailed Description

Defines the image sensor information.

Definition at line 95 of file NvSIPLDeviceBlockInfo.hpp.

Collaboration diagram for nvsipl::SensorInfo:

Data Structures

struct  Resolution
 Defines the image resolution. More...
 
struct  VirtualChannelInfo
 Defines the information of a virtual channel/single exposure. More...
 

Data Fields

uint32_t id = UINT32_MAX
 Holds the identification of the pipeline index in the platform configuration. More...
 
std::string name = ""
 Holds the name of the image sensor, for example, "AR0231". More...
 
std::string description = ""
 Holds the description of the image sensor. More...
 
uint8_t i2cAddress {static_cast<uint8_t>UINT8_MAX}
 Holds the native I2C address of the image sensor. More...
 
VirtualChannelInfo vcInfo
 Holds virtual channel information. More...
 
bool isTriggerModeEnabled {false}
 Holds a flag which indicates whether trigger mode is enabled. More...
 
std::vector< IntrGpioInfoerrGpios {}
 Holds Interrupt GPIO configurations for the sensor. More...
 
bool useCDIv2API {false}
 Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for device. More...
 
bool isAuthEnabled {false}
 Holds a flag which indicates whether sensor itself and all data exchange with sensor (image data and i2c communication) must be cryptographically authenticated. More...
 
bool isTPGEnabled {false}
 Holds a flag which indicates whether the sensor requires configuration in Test Pattern Generator (TPG) mode. More...
 
uint32_t patternMode {0U}
 Holds the Test Pattern Generator (TPG) pattern mode. More...
 
uint8_t virtualI2CAddress {static_cast<uint8_t>UINT8_MAX}
 Holds the requested virtual I2C address of the image sensor. More...
 

Field Documentation

◆ description

std::string nvsipl::SensorInfo::description = ""

Holds the description of the image sensor.

Definition at line 191 of file NvSIPLDeviceBlockInfo.hpp.

◆ errGpios

std::vector<IntrGpioInfo> nvsipl::SensorInfo::errGpios {}

Holds Interrupt GPIO configurations for the sensor.

Definition at line 208 of file NvSIPLDeviceBlockInfo.hpp.

◆ i2cAddress

uint8_t nvsipl::SensorInfo::i2cAddress {static_cast<uint8_t>UINT8_MAX}

Holds the native I2C address of the image sensor.

Valid value: [0, UINT8_MAX]

Definition at line 198 of file NvSIPLDeviceBlockInfo.hpp.

◆ id

uint32_t nvsipl::SensorInfo::id = UINT32_MAX

Holds the identification of the pipeline index in the platform configuration.

Valid value: [0, MAX_CAMERAMODULES_PER_PLATFORM - 1]

Definition at line 186 of file NvSIPLDeviceBlockInfo.hpp.

◆ isAuthEnabled

bool nvsipl::SensorInfo::isAuthEnabled {false}

Holds a flag which indicates whether sensor itself and all data exchange with sensor (image data and i2c communication) must be cryptographically authenticated.

Note
This flag has no effect; authentication is not supported on Non-Embedded platforms.

Definition at line 235 of file NvSIPLDeviceBlockInfo.hpp.

◆ isTPGEnabled

bool nvsipl::SensorInfo::isTPGEnabled {false}

Holds a flag which indicates whether the sensor requires configuration in Test Pattern Generator (TPG) mode.

The default value is false.

Definition at line 244 of file NvSIPLDeviceBlockInfo.hpp.

◆ isTriggerModeEnabled

bool nvsipl::SensorInfo::isTriggerModeEnabled {false}

Holds a flag which indicates whether trigger mode is enabled.

The default value is false.

Definition at line 206 of file NvSIPLDeviceBlockInfo.hpp.

◆ name

std::string nvsipl::SensorInfo::name = ""

Holds the name of the image sensor, for example, "AR0231".

Definition at line 188 of file NvSIPLDeviceBlockInfo.hpp.

◆ patternMode

uint32_t nvsipl::SensorInfo::patternMode {0U}

Holds the Test Pattern Generator (TPG) pattern mode.

Definition at line 246 of file NvSIPLDeviceBlockInfo.hpp.

◆ useCDIv2API

bool nvsipl::SensorInfo::useCDIv2API {false}

Holds a flag which indicates whether CDI (Camera Device Interface) is using the new version 2 API for device.

The default value is false for version 1 API.

Note
The flag is only used for non-Safety build. For Safety build, CDI is always using version 2 API.

Definition at line 218 of file NvSIPLDeviceBlockInfo.hpp.

◆ vcInfo

VirtualChannelInfo nvsipl::SensorInfo::vcInfo

Holds virtual channel information.

Definition at line 200 of file NvSIPLDeviceBlockInfo.hpp.

◆ virtualI2CAddress

uint8_t nvsipl::SensorInfo::virtualI2CAddress {static_cast<uint8_t>UINT8_MAX}

Holds the requested virtual I2C address of the image sensor.

Note
: By default (e.g. left unset), SIPL will choose the virtual address.
: On QNX, this address must be from the virtual address pool. Consult the Device Block Device Tree configuration SDK section for address ranges.

Valid value: [0, UINT8_MAX]. Must be different from the SensorInfo::i2cAddress value.

Definition at line 258 of file NvSIPLDeviceBlockInfo.hpp.


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