-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ports/esp32/esp32_rmt.c: #7015 ISR-driven pulse generator in RMT #9685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
75f1e38
to
72a02b3
Compare
See micropython#7015. This adds 2 new functions to ports/esp32/esp32_rmt.c: // RMT.store_pulses(self, item_list:list[int]) -> None // RMT.issue_pulses(self, tx_ready_func:callable, item_index:int, item_count:int, clock_div:int) -> None
72a02b3
to
207e296
Compare
@peterhinch : please review |
As per my original suggestions in #7015, it would offer potential RAM savings if
The general principle looks good, but I'm not the best qualified to review the C code. Hopefully someone with a deeper knowledge of the MP API will turn up. |
@peterhinch : thank you |
@jonathanhogg : please review |
Comments coming in the #7015 issue, as that seems the most useful place for discussion… |
@jonathanhogg : thank you |
@mattytrentini : please review |
@robert-hh : please review |
This is an automated heads-up that we've just merged a Pull Request See #13763 A search suggests this PR might apply the STATIC macro to some C code. If it Although this is an automated message, feel free to @-reply to me directly if |
See: #7015
Design Motivation:
Purpose: provide high performance ISR-driven pulse generator in RMT.
This adds 2 new functions to
ports/esp32/esp32_rmt.c
:Use case and examples are discussed here:
#7015 (comment)
#7015 (comment)