[C-07] STi7108
[7108] "CFG_I2C_NOPROBES" configuration 설명
eoseontaek
2011. 3. 21. 09:45
CFG_I2C_NOPROBES
이 옵션은 'i2c probe' 명령이 issue되었을 때, skipp될 I2C device의 list를 명시한다.
만약 CONFIG_I2C_MULTI_BUS 가 설정되었다면 bus-device pairs의 list를 명시하고, 그렇지 않으면 device address의 1차 배열을 명시해서 사용한다.
e.g.
#undef CONFIG_I2C_MULTI_BUS
#define CFG_I2C_NOPROBES {0x50,0x68}
#define CFG_I2C_NOPROBES {0x50,0x68}
하나의 i2c bus에서 0x50, 0x68의 address를 skip할 것이다.
#define CONFIG_I2C_MULTI_BUS
#define CFG_I2C_MULTI_NOPROBES {{0,0x50},{0,0x68},{1,0x54}}
#define CFG_I2C_MULTI_NOPROBES {{0,0x50},{0,0x68},{1,0x54}}
bus0에서 0x50, 0x68의 address를 skip하고, bus1에서는 0x54의 address를 skip할 것이다.