diff options
| author | Graeme Winter <graeme.winter@gmail.com> | 2023-03-23 05:20:46 +0000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-01-23 15:29:11 +1100 |
| commit | 70b95d8f9314ebcddee15e5ac2f4bdb03143846d (patch) | |
| tree | 640a7b91b567ddc5e0b50968e1ae230dc2f882f2 /py/objcell.c | |
| parent | 1100aa63c908f60d03fa5b1d1b3abae3a53050f8 (diff) | |
samd/machine_dac: Fix SAMD51 DAC for two channels.
Improvements to DAC support for SAMD51:
- properly validate DAC id
- correctly use dac_init flag, as a 2-ple for A0, A1 channels
- disable DAC before adjusting settings, see SAMD5x data sheet ยง47.6.2.3
Co-authored-by: robert-hh <robert@hammelrath.com>
Signed-off-by: Graeme Winter <graeme.winter@gmail.com>
Diffstat (limited to 'py/objcell.c')
0 files changed, 0 insertions, 0 deletions
