|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
ADC library for STM32Fxxx - http://stm32f4-discovery.com/2015/10/hal-library-29-analog-to-digital-converter-for-stm32fxxx/. More...
Modules | |
| TM_ADC_Macros | |
| Library defines. | |
| TM_ADC_Typedefs | |
| Library Typedefs. | |
| TM_ADC_Functions | |
| Library Functions. | |
ADC library for STM32Fxxx - http://stm32f4-discovery.com/2015/10/hal-library-29-analog-to-digital-converter-for-stm32fxxx/.
This library allows you to operate with ADC peripheral on STM32Fxxx devices. It works on STM32F0xx, STM32F4xx and STM32F7xx devices
Library uses polling mode of each ADC channel to read data from. It is designed for use where small data rate of ADC is needed, such as reading battery voltage where you need MAX 1 sample per second.
ADC supports up to 16 external ADC channels connected to GPIO pins.
CHANNEL ADC1 ADC2 ADC3 0 PA0 PA0 PA0 1 PA1 PA1 PA1 2 PA2 PA2 PA2 3 PA3 PA3 PA3 4 PA4 PA4 PF6 5 PA5 PA5 PF7 6 PA6 PA6 PF8 7 PA7 PA7 PF9 8 PB0 PB0 PF10 9 PB1 PB1 PF3 10 PC0 PC0 PC0 11 PC1 PC1 PC1 12 PC2 PC2 PC2 13 PC3 PC3 PC3 14 PC4 PC4 PF4 15 PC5 PC5 PF5
Circuit for battery is integrated inside STM32 device. It can measure a battery, connected to VBAT pin, meant for RTC and backup purpose only.
Version 1.0 - First release
- STM32Fxxx HAL - defines.h - TM GPIO