-
Notifications
You must be signed in to change notification settings - Fork 0
/
adc0.h
31 lines (23 loc) · 942 Bytes
/
adc0.h
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
28
29
30
31
// ADC0 Library
// Jason Losh
//-----------------------------------------------------------------------------
// Hardware Target
//-----------------------------------------------------------------------------
// Target Platform: EK-TM4C123GXL
// Target uC: TM4C123GH6PM
// System Clock: -
// Hardware configuration:
// ADC0 SS3
//-----------------------------------------------------------------------------
// Device includes, defines, and assembler directives
//-----------------------------------------------------------------------------
#ifndef ADC0_H_
#define ADC0_H_
//-----------------------------------------------------------------------------
// Subroutines
//-----------------------------------------------------------------------------
void initAdc0Ss3();
void setAdc0Ss3Log2AverageCount(uint8_t log2AverageCount);
void setAdc0Ss3Mux(uint8_t input);
int16_t readAdc0Ss3();
#endif