tmedicci commented on PR #11428:
URL: https://github.com/apache/nuttx/pull/11428#issuecomment-2535988431

   > @tmedicci hi, why is this driver not in `drivers/rc` ? can't this be 
implemented with common ` drivers/rc/lirc_dev.c` instead of creating 
vendor-specific drivers?
   
   Hi @raiden00pl! The RMT peripheral is very versatile (the name doesn't 
reflect all of its capabilities). To cover more applications we developed this 
driver in layers. There is the generic RMT upper-half driver that enables using 
it directly for any kind of application based on timed signals, but the 
lower-half can be bound to any kind of existing driver with the correct adapter 
(for instance, we created an intermediate layer to use it with the upper-half 
WS2812 driver). So, answering your question: yes, we can use it with 
`drivers/rc` (probably it'd need a simple adapter), but we decided not to limit 
its capabilities to remote controlling.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to