Go to the source code of this file.
|
int | adc_read (unsigned int ch) |
|
int | adc_eref_off () |
| It will hold the configuration of the ADC, and change it according to the OP variable. More...
|
|
int | adc_eref_on () |
| Reconfigure the parameters of the ADC to enable Veref+ and Veref-. More...
|
|
void | adc_close () |
| It will stop ADC, free the ports, and reset the OP configuration. More...
|
|
It will stop ADC, free the ports, and reset the OP configuration.
- Parameters
-
unsigned | char CH : Input the port to read |
- Returns
- Return the value in Long Int.
Definition at line 171 of file adc.c.
It will hold the configuration of the ADC, and change it according to the OP variable.
- Parameters
-
- Returns
- Returns a code with the new configuration
Definition at line 106 of file adc.c.
Reconfigure the parameters of the ADC to enable Veref+ and Veref-.
- Parameters
-
- Returns
- Returns the new configuration
Definition at line 136 of file adc.c.
int adc_read |
( |
unsigned int |
ch | ) |
|
Definition at line 9 of file adc.c.