If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你是不是想去接受时,设置一个timeout ,过了这个定时,后面的不要了?? :
In UART_MODE_CALLBACK there is no timeout and the application must call UART_readCancel() or UART_writeCancel() to abort the operation.
Receive timeout interrupt mask. A read returns the current mask for
UART's receive timeout interrupt. On a write of 1, the mask of the
overrun error interrupt is set which means the interrupt state will be
reflected in MIS.RTMIS. A write of 0 clears the mask which means
this bitfield will not reflect the interrup
SDK提供的接口函数里面用的是call back ,如果要中断估计要自己去写一个接口,如果你要用中断接口 timeout 建议去E2E 英文发帖,看一下那边的AE team 能否提供。