摘要: #ifndef __SPI_H #define __SPI_H #ifdef __cplusplus extern "C" { #endif #include <stm32f10x_spi.h> #include <stdint.h> void SPI1_SendRecvData(const uin 阅读全文
posted @ 2026-01-18 00:51 ~夏至、微风~ 阅读(2) 评论(0) 推荐(0)
摘要: 完全实现HAL库的对应函数功能: C语言版本 i2c.h 文件: #ifndef __I2C_H #define __I2C_H #ifdef __cplusplus extern "C" { #endif #include <stm32f10x.h> #include <stdint.h> #de 阅读全文
posted @ 2026-01-18 00:21 ~夏至、微风~ 阅读(7) 评论(0) 推荐(0)