dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec
GNU General Public License v3.0
168 stars 41 forks source link

Add hardware and software serial drivers #50

Closed dgatf closed 2 years ago

dgatf commented 2 years ago

This PR adds specific hardware and software serial drivers with features for fast and periodic data packets

The main change is the non blocking timeout. It can be read the timedout buffer only. And also the complete buffer as usual

The buffer discards timedout buffer when new data arrives. Bit if no timeout is defined, it has the usual behavior