hw_adc.c File Reference
ADC: Analogic to Digital Converter. More...
#include "hw/hw_adc.h"
#include <cfg/macros.h>
#include <drv/timer.h>
#include <avr/io.h>
Go to the source code of this file.
Functions | |
| void | adc_set_active_ain (int ai) |
| Set the active AI channel. | |
| void | adc_init (void) |
| Initialize the ADC. | |
| void | adc_set_vref_avcc (void) |
| Set the initial reference. | |
| int | adc_read_ai_channel (int channel) |
| Read the specified AI channel. | |
Detailed Description
ADC: Analogic to Digital Converter.
- Version:
- Id
- hw_adc.c 1532 2008-08-04 07:21:26Z bernie
Definition in file hw_adc.c.
Function Documentation
| void adc_init | ( | void | ) |
