更新:添加HART复位

This commit is contained in:
吴俊潮 2025-08-07 11:43:33 +08:00
parent d0c8a9138b
commit 882d627288
2 changed files with 8078 additions and 8067 deletions

View File

@ -221,6 +221,14 @@ void start_task_hart(void const * argument)
{
fre_set_hart = 460800;
frequence_output(fre_set_hart, 50, PWM_HART);
//HART复位
HART_RESET(GPIO_PIN_RESET);
vTaskDelay(10);
HART_RESET(GPIO_PIN_SET);
//HART默认接收
HART_RTS(RTS_OFF);
}
switch (tabdata.hart_enable)

File diff suppressed because it is too large Load Diff