SJSU One API
Main Page
Modules
Namespaces
Data Structures
Files
File List
Globals
firmware
default
lib
L2_Drivers
adc0.h
Go to the documentation of this file.
1
/*
2
* SocialLedge.com - Copyright (C) 2013
3
*
4
* This file is part of free software framework for embedded processors.
5
* You can use it and/or distribute it as long as this copyright header
6
* remains unmodified. The code is free for personal use and requires
7
* permission to use in a commercial product.
8
*
9
* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
10
* OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
11
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
12
* I SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
13
* CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
14
*
15
* You can reach the author of this software at :
16
* p r e e t . w i k i @ g m a i l . c o m
17
*/
18
26
#ifndef ADC0_H_
27
#define ADC0_H_
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
33
38
void
adc0_init
(
void
);
39
45
uint16_t
adc0_get_reading
(uint8_t channel_num);
46
47
48
49
#ifdef __cplusplus
50
}
51
#endif
52
#endif
/* ADC0_H_ */
adc0_init
void adc0_init(void)
Definition:
adc.c:54
adc0_get_reading
uint16_t adc0_get_reading(uint8_t channel_num)
Definition:
adc.c:97
Generated by
1.8.11