NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
IMX390_CUST1_V2_CustomData.h File Reference

Go to the source code of this file.

Data Structures

struct  IMX390CustomEmbeddedData
 Describes the Custom Embedded data needed by the application. More...
 
struct  IMX390ROIConfig
 Structure to configure the image ROI parameters in the sensor. More...
 
struct  IMX390EEPROMData
 Describes the IMX390 EEPROM Module content. More...
 
struct  IMX390CustomErrInfo
 Describes the Custom sensor error information needed by the application. More...
 

Macros

#define IMX390_ERR_MAX   (8U)
 
#define IMX390_EEPROM_MAX_BYTES   (152U)
 

Enumerations

enum  IMX390MFPType {
  IMX390_MFP5_COMREADY,
  IMX390_MFP6_PMIC_INT,
  IMX390_MFP7_ERROR0
}
 
enum  IMX390I2cReadbackPeripheral {
  IMX390_I2C_READBACK_ALL = 0,
  IMX390_I2C_READBACK_SENSOR_RUNTIME,
  IMX390_I2C_READBACK_SENSOR_INITTIME
}
 
enum  IMX390CustomErrType {
  IMX390_SM_WDT_ERROR = 0U,
  IMX390_SM_RAMROM_ERROR,
  IMX390_SM_REGCHECK_ERROR,
  IMX390_SM_CTRLFLOW_ERROR,
  IMX390_SM_ABIST_ERROR,
  IMX390_SM_DATAPATH_ERROR,
  IMX390_SM_FSYNC_ERROR,
  IMX390_SM_SHORTV_ERROR,
  IMX390_SM_COMCHECK_ERROR,
  IMX390_SM_OBINTEG_ERROR,
  IMX390_SM_RAMWRITE_ERROR,
  IMX390_SM_ROMCOPY_ERROR,
  IMX390_SM_MAX_ERROR
}
 Describes the IMX390 Safety Mechanism error types. More...
 
enum  IMX390CustomErrInfoType {
  IMX390_SM_RAMWRITE_ERROR_INFO = 0U,
  IMX390_SM_ROMCOPY_ERROR_INFO,
  IMX390_SM_RAMROM_ERROR_INFO,
  IMX390_SM_CTRLFLOW_ERROR_INFO,
  IMX390_SM_ABIST_ERROR_INFO,
  IMX390_SM_COMCHECK_ERROR_INFO_I2C,
  IMX390_SM_COMCHECK_ERROR_INFO_SPI,
  IMX390_SM_OBINTEG_ERROR_INFO,
  IMX390_SM_MAX_ERROR_INFO
}
 Describes the IMX390 Safety Mechanism error detailed information types. More...
 
enum  PMICStatusRegs {
  PMIC_FAULT_STATUS_BUCK1,
  PMIC_FAULT_STATUS_BUCK2,
  PMIC_FAULT_STATUS_BUCK3,
  PMIC_FAULT_STATUS_LDO,
  PMIC_ERR_BUCKx_LDO_CFG,
  PMIC_DEV_STATUS,
  PMIC_POWER_GOOD_STATUS,
  PMIC_PRODUCT_ID,
  PMIC_REV_ID,
  PMIC_INT_ACK_BUCK1,
  PMIC_INT_ACK_BUCK2,
  PMIC_INT_ACK_BUCK3,
  PMIC_INT_ACK_LDO
}
 Enumerates the various PMIC status regs. More...
 
enum  IMX390StatusRegs {
  CMODE_OUT,
  SLASEL0_OUT,
  SLASEL1_OUT,
  SLASEL2_OUT,
  OTP_COM_INITIAL_SETTINGS_CHECK0,
  OTP_COM_INITIAL_SETTINGS_CHECK1,
  OTP_COM_INITIAL_SETTINGS_CHECK2,
  OTP_COM_INITIAL_SETTINGS_CHECK3
}
 Enumerates the various sensor status regs. More...
 
enum  IMX390RunSMType {
  IMX390_LBIST_RUN,
  IMX390_SELF_WDT_RUN,
  IMX390_TOGGLE_ERROR0
}
 Enumerates the different types of diagnostic SMs that can be run on request. More...
 

Macro Definition Documentation

◆ IMX390_EEPROM_MAX_BYTES

#define IMX390_EEPROM_MAX_BYTES   (152U)

Definition at line 32 of file IMX390_CUST1_V2_CustomData.h.

◆ IMX390_ERR_MAX

#define IMX390_ERR_MAX   (8U)

Definition at line 31 of file IMX390_CUST1_V2_CustomData.h.

Enumeration Type Documentation

◆ IMX390CustomErrInfoType

Describes the IMX390 Safety Mechanism error detailed information types.

Enumerator
IMX390_SM_RAMWRITE_ERROR_INFO 

RAMWRITE Safety Mechanism error information.

IMX390_SM_ROMCOPY_ERROR_INFO 

ROMCOPY Safety Mechanism error information.

IMX390_SM_RAMROM_ERROR_INFO 

RAMROM Safety Mechanism error information.

IMX390_SM_CTRLFLOW_ERROR_INFO 

Control flow Safety Mechanism error information.

IMX390_SM_ABIST_ERROR_INFO 

Analog Built-in Self test Safety Mechanism error information.

IMX390_SM_COMCHECK_ERROR_INFO_I2C 

Communication Check Safety Mechanism (for I2C) error information.

IMX390_SM_COMCHECK_ERROR_INFO_SPI 

Communication Check Safety Mechanism (for SPI) error information.

IMX390_SM_OBINTEG_ERROR_INFO 

OB Integration Check Safety Mechanism (for SPI) error information.

IMX390_SM_MAX_ERROR_INFO 

Invalid/Max error information type.

Definition at line 126 of file IMX390_CUST1_V2_CustomData.h.

◆ IMX390CustomErrType

Describes the IMX390 Safety Mechanism error types.

Enumerator
IMX390_SM_WDT_ERROR 

Watch dog timer Safety Mechanism error type.

IMX390_SM_RAMROM_ERROR 

RAMROM Error Safety Mechanism error type.

IMX390_SM_REGCHECK_ERROR 

Register Check Safety Mechanism error type.

IMX390_SM_CTRLFLOW_ERROR 

Control flow Safety Mechanism error type.

IMX390_SM_ABIST_ERROR 

Analog Built-in Self Test Safety Mechanism error type.

IMX390_SM_DATAPATH_ERROR 

Data path Check Safety Mechanism error type.

IMX390_SM_FSYNC_ERROR 

Frame Synchronization Safety Mechanism error type.

IMX390_SM_SHORTV_ERROR 

Short-V Alert Safety Mechanism error type.

IMX390_SM_COMCHECK_ERROR 

Communication Check Safety Mechanism error type.

IMX390_SM_OBINTEG_ERROR 

OB Integration Check Safety Mechanism error type.

IMX390_SM_RAMWRITE_ERROR 

RAM Write Safety Mechanism error type.

IMX390_SM_ROMCOPY_ERROR 

ROM Copy Safety Mechanism error type.

IMX390_SM_MAX_ERROR 

Max/Invalid Safety Mechanism error type.

Definition at line 94 of file IMX390_CUST1_V2_CustomData.h.

◆ IMX390I2cReadbackPeripheral

Enumerator
IMX390_I2C_READBACK_ALL 
IMX390_I2C_READBACK_SENSOR_RUNTIME 
IMX390_I2C_READBACK_SENSOR_INITTIME 

Definition at line 74 of file IMX390_CUST1_V2_CustomData.h.

◆ IMX390MFPType

Enumerator
IMX390_MFP5_COMREADY 
IMX390_MFP6_PMIC_INT 
IMX390_MFP7_ERROR0 

Definition at line 41 of file IMX390_CUST1_V2_CustomData.h.

◆ IMX390RunSMType

Enumerates the different types of diagnostic SMs that can be run on request.

Enumerator
IMX390_LBIST_RUN 

Runs the Logic Built-in Self test.

IMX390_SELF_WDT_RUN 

Runs WDT self test.

IMX390_TOGGLE_ERROR0 

Runs WDT self test.

Definition at line 232 of file IMX390_CUST1_V2_CustomData.h.

◆ IMX390StatusRegs

Enumerates the various sensor status regs.

Enumerator
CMODE_OUT 

CMOD Pin's state.

SLASEL0_OUT 

SLASEL0_OUT Pin's state.

SLASEL1_OUT 

SLASEL1_OUT Pin's state.

SLASEL2_OUT 

SLASEL2_OUT Pin's state.

OTP_COM_INITIAL_SETTINGS_CHECK0 

Register0 for Initial Setting Check.

OTP_COM_INITIAL_SETTINGS_CHECK1 

Register1 for Initial Setting Check.

OTP_COM_INITIAL_SETTINGS_CHECK2 

Register2 for Initial Setting Check.

OTP_COM_INITIAL_SETTINGS_CHECK3 

Register3 for Initial Setting Check.

Definition at line 185 of file IMX390_CUST1_V2_CustomData.h.

◆ PMICStatusRegs

Enumerates the various PMIC status regs.

Enumerator
PMIC_FAULT_STATUS_BUCK1 

BUCK1 Fault status.

PMIC_FAULT_STATUS_BUCK2 

BUCK2 Fault status.

PMIC_FAULT_STATUS_BUCK3 

BUCK3 Fault status.

PMIC_FAULT_STATUS_LDO 

LDO Fault status.

PMIC_ERR_BUCKx_LDO_CFG 

BUCKx_LDO_CFG Fault status.

PMIC_DEV_STATUS 

PMIC Device status.

PMIC_POWER_GOOD_STATUS 

PMIC power good status.

PMIC_PRODUCT_ID 

PMIC Product ID.

PMIC_REV_ID 

PMIC Revision ID.

PMIC_INT_ACK_BUCK1 

BUCK1 interrupt status.

PMIC_INT_ACK_BUCK2 

BUCK2 interrupt status.

PMIC_INT_ACK_BUCK3 

BUCK3 interrupt status.

PMIC_INT_ACK_LDO 

LDO interrupt status.

Definition at line 151 of file IMX390_CUST1_V2_CustomData.h.