1
8
31
新手上路
使用道具 举报 送花
717
1万
管理员
39
2006
6843
论坛元老
yunweiping 发表于 2024-3-8 21:50 好像USART2CR5寄存器的,BRKDET位就一直没有动过,感觉没有检测到间隔场,但是LIN的数据是可以收到的,是哪 ...
yunwe*** 发表于 2024-3-10 20:41 void UART2_int (void) interrupt 8 { if(S2RI)
if(StaCR & 0xc0) //if LIN break is detected / LIN header error is detected { P20 = !P20; RX2_Cnt = 0; }复制代码
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-5-2 13:24 , Processed in 0.142932 second(s), 102 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.