Go to the source code of this file.
Macros | |
| #define | ADC_UNKNOWN_ERROR 0xffffffff |
| #define | ADC_PIN_ERROR 0xfffffffe |
| #define | ADC_FREQUENCY_ERROR 0xfffffffd |
| #define | ADC_NUMBERCYCLES_ERROR 0xfffffffc |
| #define | MAX_NUMBER_ADC_CYCLES 838 |
| #define | MIN_ADC_FREQUENCY 50 |
| #define | MAX_ADC_FREQUENCY 200 |
| #define | ADC_REF_AREF 0x0 |
| #define | ADC_REF_AVCC 0x1 |
| #define | ADC_REF_VREF 0x3 |
Functions | |
| uint32_t | single_adc_read (uint8_t vref_reg, uint16_t vref_val, uint16_t number_cycles, uint16_t min_freq) |
| void | adc_pin_init (void) |
| void | adc_pin_deinit (void) |
1.8.14