一个稳定可靠的STM32I2C程序.docxVIP

  • 8
  • 0
  • 约1.29万字
  • 约 17页
  • 2020-11-23 发布于河北
  • 举报
/********************************************************************* File : i2c.h Purpose : **********************************************************************/ #ifndef __I2C_H__ #define __I2C_H__ /****************************** Includes *****************************/ /****************************** Defines *******************************/ #define SENSORS_I2C I2C2 #define I2C_SPEED 400000 #define I2C_OWN_ADDRESS 0x00 #define I2C_Config() I2cMaster_Init(); /***************************** Prototypes *****************************/ void I2cMaster_Init(void); unsigned long Sensors_I2C_WriteReg

文档评论(0)

1亿VIP精品文档

相关文档