NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
i2c.h File Reference

Detailed Description

NVIDIA Quickboot Interface: I2C Access

Description: This file declares APIs for accessing I2C devices.

Definition in file i2c.h.

Go to the source code of this file.

Data Structures

struct  QbI2cDriverPrivInfo
 
struct  QbI2cInfo
 
struct  QbI2cTransfer
 Holds the I2C transfer. More...
 

Macros

#define QB_I2C_IOCTL_SEND   0
 
#define QB_I2C_IOCTL_RECV   1
 
#define BC_CLEAR_ENABLE   1
 
#define BC_SCLK_THRESHOLD_CYCLES   9
 

Typedefs

typedef enum QbI2cInstanceRec QbI2cInstance
 Defines the I2C controller instance. More...
 

Enumerations

enum  QbI2cInstanceRec {
  QbI2cInstance_I2C1 = 0,
  QbI2cInstance_I2C2,
  QbI2cInstance_I2C3,
  QbI2cInstance_I2C4,
  QbI2cInstance_I2C5,
  QbI2cInstance_I2C6,
  QbI2cInstance_Num,
  QbI2cInstance_Force32 = 0x7fffffff
}
 Defines the I2C controller instance. More...
 

Functions

NvError QbI2cInit (void)
 Register I2C driver to driver framework. More...