I2C library to pressure sensor

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C library to pressure sensor

707件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc1992 on Sat Jan 30 17:22:20 MST 2016
Hello friends!

I'm using a sensor of pressure, this used I2C as a means of comunication. I want to use the library i2c_18xx_43xx.h of lpcopen.

The following functions are sufficient for reading and writing to the sensor ?

-->Chip_I2C_Init(I2C_ID_T id);
-->Chip_I2C_SetClockRate(I2C_ID_T id, uint32_t clockrate);
-->Chip_I2C_MasterSend(I2C_ID_T id, uint8_t slaveAddr, const uint8_t *buff, uint8_t len);
-->Chip_I2C_MasterRead(I2C_ID_T id, uint8_t slaveAddr, uint8_t *buff, int len);



Thanks!!!!
ラベル(1)
0 件の賞賛
返信
0 返答(返信)