ARMEBS4  revision-26.06.2015
Macros | Functions
Potentiometer
Collaboration diagram for Potentiometer:

Macros

#define POT_MAX_VALUE
 Maximum potentiomer value.
 

Functions

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

Detailed Description

Function Documentation

uint32_t pot_value ( void  )

Measure the potentiometer value.

Returns
Measured value between 0 to POT_MAX_VALUE

Definition at line 46 of file pot.c.