OpenBIC
OpenSource Bridge-IC
plat_i2c.h File Reference
#include "hal_i2c.h"
Include dependency graph for plat_i2c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define I2C_BUS1   0
 
#define I2C_BUS2   1
 
#define I2C_BUS3   2
 
#define I2C_BUS4   3
 
#define I2C_BUS5   4
 
#define I2C_BUS6   5
 
#define I2C_BUS7   6
 
#define I2C_BUS8   7
 
#define I2C_BUS9   8
 
#define I2C_BUS10   9
 
#define I2C_BUS_MAX_NUM   10
 
#define CPLD_IO_I2C_BUS   I2C_BUS1
 
#define CPLD_IO_I2C_ADDR   (0x1E >> 1)
 
#define CPLD_IO_REG_OFS_HSC_EN_SLOT1   0x09
 
#define CPLD_IO_REG_OFS_HSC_EN_SLOT3   0x0B
 
#define CPLD_IO_REG_OFS_SLED_CYCLE   0x2B
 
#define CPLD_IO_REG_CABLE_PRESENT   0x30
 

Macro Definition Documentation

◆ CPLD_IO_I2C_ADDR

#define CPLD_IO_I2C_ADDR   (0x1E >> 1)

◆ CPLD_IO_I2C_BUS

#define CPLD_IO_I2C_BUS   I2C_BUS1

◆ CPLD_IO_REG_CABLE_PRESENT

#define CPLD_IO_REG_CABLE_PRESENT   0x30

◆ CPLD_IO_REG_OFS_HSC_EN_SLOT1

#define CPLD_IO_REG_OFS_HSC_EN_SLOT1   0x09

◆ CPLD_IO_REG_OFS_HSC_EN_SLOT3

#define CPLD_IO_REG_OFS_HSC_EN_SLOT3   0x0B

◆ CPLD_IO_REG_OFS_SLED_CYCLE

#define CPLD_IO_REG_OFS_SLED_CYCLE   0x2B

◆ I2C_BUS1

#define I2C_BUS1   0

◆ I2C_BUS10

#define I2C_BUS10   9

◆ I2C_BUS2

#define I2C_BUS2   1

◆ I2C_BUS3

#define I2C_BUS3   2

◆ I2C_BUS4

#define I2C_BUS4   3

◆ I2C_BUS5

#define I2C_BUS5   4

◆ I2C_BUS6

#define I2C_BUS6   5

◆ I2C_BUS7

#define I2C_BUS7   6

◆ I2C_BUS8

#define I2C_BUS8   7

◆ I2C_BUS9

#define I2C_BUS9   8

◆ I2C_BUS_MAX_NUM

#define I2C_BUS_MAX_NUM   10