summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-12-02 21:08:46 +0100
committerDamien George <damien@micropython.org>2022-12-14 12:48:24 +1100
commite69313f89c607976da2a7e06ad49b8db9fe1caf9 (patch)
treeeb2fec3ad51be6ed4c7bf323cff760a7edc3a08f /docs/esp32
parenta73dcb3d228008a6225fd80627d3b9566470c687 (diff)
samd: Add a vref=num option to the ADC and DAC constructor.
ADC: The argument of vref=num is an integer. Values for num are: SAMD21: 0 INT1V 1.0V voltage reference 1 INTVCC0 1/1.48 Analog voltage supply 2 INTVCC1 1/2 Analog voltage supply (only for VDDANA > 2.0V) 3 VREFA External reference 4 VREFB External reference SAMD51: 0 INTREF internal bandgap reference 1 INTVCC1 Analog voltage supply 2 INTVCC0 1/2 Analog voltage supply (only for VDDANA > 2.0v) 3 AREFA External reference A 4 AREFB External reference B 5 AREFC External reference C (ADC1 only) DAC: The argument of vref=num is an integer. Suitable values: SAMD21: 0 INT1V Internal voltage reference 1 VDDANA Analog voltage supply 2 VREFA External reference SAMD51: 0 INTREF Internal bandgap reference 1 VDDANA Analog voltage supply 2 VREFAU Unbuffered external voltage reference (not buffered in DAC) 4 VREFAB Buffered external voltage reference (buffered in DAC).
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions