]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blob - rpp/lib/rpp/include/drv/adc.h
Yet another place to fix
[pes-rpp/rpp-test-sw.git] / rpp / lib / rpp / include / drv / adc.h
1 /**
2  * RPP driver implementation for ADC header file.
3  *
4  * @file adc.h
5  *
6  * @copyright Copyright (C) 2012-2013 Czech Technical University in Prague
7  *
8  * @author Michal Horn
9  * @author Carlos Jenkins <carlos@jenkins.co.cr>
10  */
11
12
13 #ifndef __DRV_ADC_H
14 #define __DRV_ADC_H
15
16 #include "sys/ti_drv_adc.h"
17
18 void drv_adc_init();
19 uint32_t drv_adc_read_ain(adcData_t* data);
20 uint32_t drv_adc_read_houtifbk(adcData_t* data);
21
22 uint32_t adc_get_port_val(uint32_t* config, uint32_t num_channels,
23                            uint32_t* values);
24
25 #endif /* __DRV_ADC_H */