Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
it8xxx2-i2c.h File Reference

Go to the source code of this file.

Macros

#define IT8XXX2_ECPM_CGCTRL4R_OFF   0x09
 
#define CGC_OFFSET_SMBF   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x80)
 
#define CGC_OFFSET_SMBE   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x40)
 
#define CGC_OFFSET_SMBD   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x20)
 
#define CGC_OFFSET_SMBC   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x10)
 
#define CGC_OFFSET_SMBB   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x08)
 
#define CGC_OFFSET_SMBA   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x04)
 
#define I2C_CHA_LOCATE   0
 
#define I2C_CHB_LOCATE   1
 
#define I2C_CHC_LOCATE   2
 
#define I2C_CHD_LOCATE   3
 
#define I2C_CHE_LOCATE   4
 
#define I2C_CHF_LOCATE   5
 

Macro Definition Documentation

◆ CGC_OFFSET_SMBA

#define CGC_OFFSET_SMBA   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x04)

◆ CGC_OFFSET_SMBB

#define CGC_OFFSET_SMBB   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x08)

◆ CGC_OFFSET_SMBC

#define CGC_OFFSET_SMBC   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x10)

◆ CGC_OFFSET_SMBD

#define CGC_OFFSET_SMBD   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x20)

◆ CGC_OFFSET_SMBE

#define CGC_OFFSET_SMBE   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x40)

◆ CGC_OFFSET_SMBF

#define CGC_OFFSET_SMBF   ((IT8XXX2_ECPM_CGCTRL4R_OFF << 8) | 0x80)

◆ I2C_CHA_LOCATE

#define I2C_CHA_LOCATE   0

◆ I2C_CHB_LOCATE

#define I2C_CHB_LOCATE   1

◆ I2C_CHC_LOCATE

#define I2C_CHC_LOCATE   2

◆ I2C_CHD_LOCATE

#define I2C_CHD_LOCATE   3

◆ I2C_CHE_LOCATE

#define I2C_CHE_LOCATE   4

◆ I2C_CHF_LOCATE

#define I2C_CHF_LOCATE   5

◆ IT8XXX2_ECPM_CGCTRL4R_OFF

#define IT8XXX2_ECPM_CGCTRL4R_OFF   0x09