[riot-notifications] [RIOT-OS/RIOT] drivers/periph_common: dac: add dac_play() (#13908)

chrysn notifications at github.com
Mon Nov 30 15:47:03 CET 2020

> I just added the `dac` to the callback struct, it's only 4 additional bytes.

At this point it may be worth considering to decouple them even further
and have the init function not take a dac_t ("what if it's not linear")
but just a a plain dac_dds index ("device"? pointer if user-allocated?
not sure), and have separate arguments in the DAC.

(This may also help in conceptualization once someone gets the crazy
idea to add a dac_dds_init_multichannel that'd take multiple DACs into a
single dac_dds to allow stereo, 5.1 or RGB sound).

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201130/6cd8ecd2/attachment-0001.htm>

More information about the notifications mailing list