1 Commits

Author SHA1 Message Date
Lucas
782df6ea95
Implement new RMT driver API (#548)
* push first draft

* fix source clock

* fix clippy lints

* rename `source_clock` to `clock_source`

* implement sync manager

* implement `RxChannel`

* finish implementing TxChannel

* make code compile with and without `alloc`

* implement encoder and remove non_exhaustive

* push new changes

* push now hopefully safe impl

* fix ci

* use correct esp_idf_version in simple_encoder example

* cleanup example

* ...

* fix ub

* minor code improvements

* implement async support

* fix use-after-free bug and add a helper function

* redesign `TxChannelDriver` (again)

* fix minor mistakes and add `TxQueue`

* rewrite `RxChannelDriver` and do some minor adjustments

* adress the review (partially)

* implement more things

* make the async code mostly safe wrappers

* return token in when pushing on queue

* push initial new impl

* update code

* update code

* remove todo

* update changelog

* adjust duty cycle to store an `f32`

* fix clippy

* fix clippy

* fix clippy
2025-10-20 16:52:46 +03:00