TTK4155 Ping-pong project
|
Go to the source code of this file.
Functions | |
int | adc_init (void) |
Function to initialize adc. More... | |
uint16_t | adc_read (int ch) |
Read adc value. More... | |
int adc_init | ( | void | ) |
Function to initialize adc.
brief Function to initialize adc.
Function to initialize adc.
brief Function to initialize adc.
<
<
<
<
uint16_t adc_read | ( | int | ch | ) |
Read adc value.
ch | ADC channel. |
< Start address for the ADC
< Wait for ADC conversion to complete
< Start address for the ADC
< Wait for ADC conversion to complete