I2C library to pressure sensor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C library to pressure sensor

690 次查看
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 回复数