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 Co-authored-by: robert-hh <[email protected]> Signed-off-by: Graeme Winter <[email protected]>
- Loading branch information
1 parent
b08ddbb
commit ce04934
Showing
1 changed file
with
36 additions
and
16 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