Thread 中讨论的其他器件:Z-stack
您好!
我使用的是 ZStack-3.0。 在这里、我对 UART 的读取和写入感到困惑。
在该函数中,processUART_ReadBuf();它没有调用任何内容,但仍然是执行它的函数,任何人都可以帮助我。 UART 如何提供中断
This thread has been locked.
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.
我使用的是 ZStack-3.0.0。 在 UartInterface_service 中、有一个名为 uartDebug_serviec.c 的文件
我不知道 processUART_ReadBuf 函数在某些地方被调用、在那里调用我搜索的函数我没有得到。
下面是代码
/
uint8 processUART_ReadBuf (uint8 * newBuffer)
{
uint16 intCommand;
uint16 intCommand2;
intCommand = atoi (newBuffer);
令牌= strtok (newBuffer、"_-");
if (intCommand == 51)
{
OSAL_START_timerEx (Kiko_TouchPchannel_taskID、read_touch、500);
}
}