This repository has been archived by the owner on Oct 7, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ad5593/ad5593.cpp: Fix pin function bug when changing from DAC to ADC
In case a pin was configured with function DAC and is afterwards set to ADC. The pin would still read the previous set voltage. Fixed by clearing the DAC ENABLE bit. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
- Loading branch information