feat: 基本完成通信帧主机写操作接口

This commit is contained in:
bmy
2024-02-24 18:32:52 +08:00
parent 399ebeea1a
commit 85ccbea2f8
9 changed files with 117 additions and 44 deletions

View File

@@ -8,10 +8,11 @@
#include "by_tiny_frame_parse.h"
#include "by_tiny_frame_pack.h"
#define BY_TINY_FRAME_WRITE_CMD_CODE (0x06)
#define BY_TINY_FRAME_WRITE_CMD_CODE (0x06)
extern void by_tiny_frame_write(uint8_t slave_id, uint16_t reg_addr, uint32_t data);
extern void by_tiny_frame_write_run(void);
extern void by_tiny_frame_write_handle(by_tf_parse_frame_t frame_s, uint8_t status);
#endif
#endif