ARMEBS4  revision-26.06.2015
Functions
pot.c File Reference

ARMEBS4 potentiometer access functions. More...

#include "heivs/pot.h"
#include "stm32/stm32f4xx_rcc.h"
#include "heivs/stm32_gpio.h"
#include "stm32/stm32f4xx_adc.h"
Include dependency graph for pot.c:

Go to the source code of this file.

Functions

void pot_init (void)
 Initialise ADC to measure potentiometer.
 
uint32_t pot_value (void)
 Measure the potentiometer value. More...
 

Detailed Description

ARMEBS4 potentiometer access functions.

Author
Pascal Sartoretti / Marc Pignat

Definition in file pot.c.