Defines | Functions

adc.h File Reference

Header file for module <adc.c> More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define EXTERN   extern
#define ADC0   0
 ADC channel #0.
#define ADC1   1
 ADC channel #1.
#define ADC2   2
 ADC channel #2.
#define ADC3   3
 ADC channel #3.
#define ADC4   4
 ADC channel #4.
#define ADC5   5
 ADC channel #5.
#define ADC6   6
 ADC channel #6.
#define ADC7   7
 ADC channel #7.

Functions

void adc_Init (void)
 Init function of module <adc.c>.
UINT16 adc_Read (UINT8 u8Channel)
 Reads an averaged value from an ADC channel.

Detailed Description

Author:
Philipp Bank
Copyright:
Creative Commons by-nc-sa 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)

Definition in file adc.h.