feat: 为通信帧解析完成回调函数添加帧信息入参(以便命令函数校验成功与否)

This commit is contained in:
bmy
2024-02-23 21:13:31 +08:00
parent 8a573170e0
commit 1c5c78976f
4 changed files with 34 additions and 7 deletions

View File

@@ -1,6 +1,16 @@
#ifndef _BY_TINY_FRAME_WRITE_H__
#define _BY_TINY_FRAME_WRITE_H__
#include "by_tiny_frame_config.h"
#include "by_tiny_frame_parse.h"
#include "by_tiny_frame_pack.h"
#define BY_TINY_FRAME_WRITE_CMD_CODE (0x06)
#if defined(BY_TF_DEVICE_MASTER)
extern void by_tiny_frame_write(uint8_t slave_id, uint16_t reg_addr, uint32_t data);
#elif
#endif
#endif