MiraOS  1.22
mira_adc.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (C) 2016 LumenRadio AB *
3  * *
4  * This file is part of MiraOS. *
5  * *
6  * MiraOS contains software components that are patented by LumenRadio. *
7  * Use of this software is under the terms of the LumenRadio MiraOS *
8  * license.
9  * *
10  * You should have received a copy of the MiraOS license from your *
11  * LumenRadio representative. If not, email to <licenses@lumenradio.com> *
12  ****************************************************************************/
13 
25 #ifndef LIBMIRA_ADC_H_
26 #define LIBMIRA_ADC_H_
27 
28 
29 #include <stdint.h>
30 
36 typedef enum {
49 
50 
58 void mira_adc_init(MiraAdcChannel channel);
59 
60 
68 int16_t mira_adc_read(MiraAdcChannel channel);
69 
70 #endif /* LIBMIRA_ADC_H_ */
Definition: mira_adc.h:39
Definition: mira_adc.h:41
void mira_adc_init(MiraAdcChannel channel)
Init analog input.
Definition: mira_adc.h:44
Definition: mira_adc.h:47
Definition: mira_adc.h:37
MiraAdcChannel
Analog input channels.
Definition: mira_adc.h:36
Definition: mira_adc.h:42
int16_t mira_adc_read(MiraAdcChannel channel)
Init analog input.
Definition: mira_adc.h:40
Definition: mira_adc.h:46
Definition: mira_adc.h:45
Definition: mira_adc.h:38
Definition: mira_adc.h:43