adc_at91.h File Reference
ADC hardware-specific definition. More...
#include "hw/hw_cpu.h"
#include "cfg/cfg_adc.h"
#include <cfg/compiler.h>
Go to the source code of this file.
Defines | |
| #define | ADC_MUX_MAXCH 8 |
| ADC config define. | |
| #define | ADC_COMPUTED_PRESCALER ((CLOCK_FREQ/(2 * CONFIG_ADC_CLOCK)) - 1) |
| Macro for computing correct value to write into ADC register. | |
| #define | ADC_INIT_PINS() |
| Init pins macro for adc. | |
Detailed Description
ADC hardware-specific definition.
- Version:
- Id
- adc_at91.h 1398 2008-05-27 16:36:05Z asterix
- Version:
- Id
- adc_at91.h 1398 2008-05-27 16:36:05Z asterix
Definition in file adc_at91.h.
Define Documentation
| #define ADC_INIT_PINS | ( | ) |
Value:
do { \ } while (0)
Define PIO controller for enable ADC function. Init the ADC pins. Implement it if necessary.
Definition at line 89 of file adc_at91.h.
