X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino%2Fbenchmark%2Farduino_kernel_footprint%2Fcfg%2Fcfg_adc.h;fp=boards%2Farduino%2Fbenchmark%2Farduino_kernel_footprint%2Fcfg%2Fcfg_adc.h;h=df2587be517232fd86b9192faa5c39172c793330;hb=15646c02b1d1c7690176e197a66ee1380397fee7;hp=90aeb7bdfd13119341ca045ebf4d4ccb117eaa7c;hpb=3659d918dd3fb3fe6bd0c69c0f9792bbea709792;p=bertos.git diff --git a/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_adc.h b/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_adc.h index 90aeb7bd..df2587be 100644 --- a/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_adc.h +++ b/boards/arduino/benchmark/arduino_kernel_footprint/cfg/cfg_adc.h @@ -56,9 +56,12 @@ /** * Clock Frequency for ADC conversion. + * This frequency will be rounded down to an integer + * submultiple of CPU_FREQ. * * $WIZ$ type = "int" * $WIZ$ supports = "at91" + * $WIZ$ max = 5000000 */ #define CONFIG_ADC_CLOCK 4800000UL @@ -66,16 +69,16 @@ * Minimum time for starting up a conversion [us]. * * $WIZ$ type = "int" - * $WIZ$ min = 0 + * $WIZ$ min = 20 * $WIZ$ supports = "at91" */ #define CONFIG_ADC_STARTUP_TIME 20 /** - * Minimum time for sample and hold [us]. + * Minimum time for sample and hold [ns]. * * $WIZ$ type = "int" - * $WIZ$ min = 0 + * $WIZ$ min = 600 * $WIZ$ supports = "at91" */ #define CONFIG_ADC_SHTIME 834