forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ports/samd/machine_dac.c: Fix SAMD51 DAC for two channels.
- correctly use dac_init flag, as a 2-ple for A0, A1 channels - initialise vref in table - disable DAC before adjusting settings see SAMD5x data sheet §47.6.2.3 Signed-off-by: Graeme Winter <[email protected]> Co-authored-by: robert-hh <[email protected]>
- Loading branch information
1 parent
867e4dd
commit fba710c
Showing
1 changed file
with
38 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters