TCP可以正常使用

This commit is contained in:
2026-07-19 00:59:56 +08:00
parent fe107ea9af
commit f72d08328f
24 changed files with 5505 additions and 352 deletions

View File

@@ -11,6 +11,7 @@
/* 头文件包含区 */
#include "tpafe5160.h"
#include "main.h"
/* ======================== 私有宏定义 ======================== */
@@ -325,13 +326,13 @@ const int16_t* tpafe5160_get_buf(void)
}
/*
* 函数功能BUSY 下降沿 EXTI 回调(由 HAL_GPIO_EXTI_IRQHandler 调用)
* 函数功能BUSY 下降沿 EXTI 处理(由 HAL_GPIO_EXTI_Callback 调用)
* 入口参数GPIO_Pin - 触发中断的引脚号
* 返回值:无
* 限定条件BUSY EXTI 已使能
* 函数说明:转换完成后自动读取 8 通道数据到缓冲区,耗时约 0.5µs (168MHz)
*/
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
void tpafe5160_exti_handler(uint16_t GPIO_Pin)
{
if (GPIO_Pin != TP_BUSY_Pin) {
return;