pref: 更改通信帧接收完成回调函数格式

This commit is contained in:
bmy
2024-02-23 20:41:40 +08:00
parent a1c047f15a
commit 8a573170e0
3 changed files with 13 additions and 8 deletions

View File

@@ -18,13 +18,13 @@ typedef struct by_tf_parse_frame_t {
uint32_t data;
} by_tf_parse_frame_t;
typedef void (*by_tf_parse_success_handle_func)(void);
typedef void (*by_tf_parse_done_handle_func)(uint8_t);
extern void by_tiny_frame_parse_init(void);
extern void by_tiny_frame_parse_uart_handle(uint8_t buff);
extern void by_tiny_frame_parse_run(void);
extern uint8_t by_tiny_frame_parse_crc(by_tf_parse_frame_t *frame_s);
extern void by_tiny_frame_parse_handle_register(by_tf_parse_success_handle_func func);
extern void by_tiny_frame_parse_handle_register(by_tf_parse_done_handle_func func);
extern void by_tiny_frame_parse_start_listern(void);
extern void by_tiny_frame_parse_end_listern(void);