This commit is contained in:
JiXieShi
2024-05-20 21:53:19 +08:00
parent be1d31e732
commit 395cb4489c
20 changed files with 207 additions and 60 deletions

View File

@@ -1,6 +1,8 @@
#ifndef SW_LIB_IIC_H
#define SW_LIB_IIC_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#define HIGH 1
@@ -41,5 +43,7 @@ void SW_IIC_WL(SW_Dev_IIC Dev, uint8_t InternalAddress, uint8_t *Write_Data, uin
* @return void
**/
void SW_IIC_RL(SW_Dev_IIC Dev, uint8_t InternalAddress, uint8_t *Read_Data, uint32_t Len, uint8_t Ack);
#ifdef __cplusplus
}
#endif
#endif //SW_LIB_IIC_H