摘要: 刚入职不久,下面是使用stm8s005k6写的eeprom驱动程序。EEPROM型号为ST公司的M24C256. #include "bsp_i2c.h" /* 在stm8平台下移植,只需要改下面的宏定义即可 */ #define PORT_I2C_SCL GPIOC #define PIN_I2C 阅读全文
posted @ 2019-09-30 11:03 老友不要辣 阅读(2198) 评论(0) 推荐(0) 编辑