MaJerle / lwow

Lightweight onewire protocol library optimized for UART hardware on embedded systems

Home Page:https://majerle.eu/projects/lwow-one-wire-uart-communication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

read uart not timeout

xzxzhao opened this issue · comments

I found that this library did not time out when reading the serial port, causing other tasks in the project to be unable to execute

It all depends how you implement low level driver. When using OS mode, indeed interrupt/DMA mode with thread sleep should be the right strategy to move forward.

Drivers in the repository are for demo purpose and indeed should be adapted for real application.