HAL Library 29- Analog to Digital converter for STM32Fxxx

Analog to digital converter library is out. It was a lot of time before I thought why I don’t have this basic library where anyone would use it. Now i exists. This library works on STM32F0xx, STM32F4xx and STM32F7xx based devices.

Library

Read more about new HAL libraries

Features

  • It uses basic polling for ADC complete
  • Supports VBAT reading
  • Does not get high sampling rates
  • Meant for basic use

Dependencies

  • HAL
  • TM
    • STM32Fxxx HAL
    • defines.h configuration file
    • TM GPIO

Functions and enumerations

A list of functions and its enumerations can be found on ADC library API.

Example

DAC example is available on my Github HAL repository with included hex files for all available boards where ADC is supported. You will also found example for LCD use.

Download all libraries below.

 

tilz0R

Owner of this site. Application engineer, currently employed by STMicroelectronics. Exploring latest technologies and owner of different libraries posted on Github.

You may also like...