adc.h File Reference
Interface to the AD-converter of the ATmega32, which allows to query the potentiometer and the photosensor of the board.
More...
#include <stdint.h>
Go to the source code of this file.
|
Enumerations |
enum | ADCDEV { PHOTO = 0,
POTI = 1
} |
| device ids of available periphery connected to ADC channels. More...
|
Functions |
int16_t | sb_adc_read (ADCDEV dev) |
| perform a 10-bit A/D conversion for a specific channel/device.
|
Detailed Description
Interface to the AD-converter of the ATmega32, which allows to query the potentiometer and the photosensor of the board.
- Version:
- $Rev: 2783 $