(针对STM32开发)DHT10的I2C驱动源代码,可以直接使用。 ---------------- uint32_t DHT10_Init(void); //初始化DHT10 static uint8_t DHT10_Read_Cal_Enable(void); //查询cal enable位有没有使能 static uint32_t DHT10_MeasureTrigger(void); //发送测量命令 uint32_t DHT10_GetTHValue(uint32_t *THValue); //读取湿度温度数据 uint32_t DHT10_RESET(void); //reset the device, need 20ms static uint32_t I2C_DHT10_ReadTHValue(uint32_t *THValue); //读取测量数据 static uint32_t I2C_DHT10_SendCommand(unsigned char *cmd, unsigned char NumByteofCmd); //发送DHT10命令
2019-12-21 20:24:54 3KB STM32 DHT10 I2C
1
Linux下I2C驱动和对应的测试程序
2019-12-21 20:11:04 2KB Linux i2c驱动 测试程序
1
文档描述了i2c驱动的架构及i2c编写过程,包括了应用的测试程序以及以读取i2c设备lm75的温度为实例。
2019-12-21 20:02:38 3.35MB i2c驱动
1
STM32模拟I2C,驱动PN532 例程。
2019-12-21 19:56:57 434KB PN532 STM32 I2C
1
dw i2c master control driver!
2019-12-21 19:56:26 10KB driver DW_apb_i2c
1
海思GPIO模拟I2C底层驱动,修改makefile中的内核位置和寄存器地址即可适应海思所有型号。
2019-12-21 19:47:22 6KB 海思GPIO 模拟I2C i2c 驱动
1
基于STM32F207的HDC1080的模拟I2C驱动程序,可以实现HDC1080的温湿度读取,注释清楚,完美运行。
2019-12-21 18:56:53 3KB HDC1080 I2C STM32F207 温湿度传感器
1
MCP4725 I2C驱动 包括标准速率模式,以及快速模式。
2013-08-06 00:00:00 790B MCP4725
1