blob: e343de63da126c830f7f33d3dad181963ae7f6f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//This file defines constants corresponding to gpios and digital input functions.
//
// Authors
// Siddhesh Wani
//
#ifndef __AVRPERIPHERALADC_H__
#define __AVRPERIPHERALADC_H__
#include <avr/io.h>
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
//Function prototypes
uint8 u8AVRADCSetups(uint8 prescalar, uint8 adc_ref);
uint16 u8AVRReadADCs(uint8 channel);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* !__AVRPERIPHERALGPIO_H__ */
|