HWA
Bare metal programming with style
Class _ada: 12-bit analog to digital converter
STMicroelectronics
»
STM32
»
STM32 Classes
This class is used by:
STM32F103
:
adc0
,
adc1
ST Documentation:
AN3116 - ADC modes and their applications
AN2884 - How to get the best ADC accuracy in STM32 microcontrollers
Features
12-bit resolution, left or right adustement of the result
~1 μs conversion time
Up to 16 multilexed single-ended input channels
Internal temperature sensor input
Internal 1,2 V bandgap input
Vref-..Vref+ input voltage range
Single / continuous / scan / discontinuous conversion mode
Self calibration
Analog watchdog
Channel-by-channel programmable sample time
Conversion on external trigger
DMA
Interrupts
Temperature sensor
Note
The ADC input clock is generated from the PCLK2 clock divided by a prescaler and it must not exceed 14 MHz.
Relatives
(ADC,irq)
: conversion completed
IRQ
Interface
get the number of bits of the ADC:
HW_BITS
(ADC);
HW_BITS
#define HW_BITS(...)
Definition:
hwa_1.h:500
Generated for HWA by
1.8.6