projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add eeprom size info.
[bertos.git]
/
bertos
/
cfg
/
cfg_adc.h
diff --git
a/bertos/cfg/cfg_adc.h
b/bertos/cfg/cfg_adc.h
index 6172d0320c891a30aaf185f0c0b1e6dd3c2f08ef..df2587be517232fd86b9192faa5c39172c793330 100644
(file)
--- a/
bertos/cfg/cfg_adc.h
+++ b/
bertos/cfg/cfg_adc.h
@@
-32,7
+32,6
@@
*
* \brief Configuration file for the ADC module.
*
*
* \brief Configuration file for the ADC module.
*
- * \version $Id$
* \author Daniele Basile <asterix@develer.com>
*/
* \author Daniele Basile <asterix@develer.com>
*/
@@
-57,9
+56,12
@@
/**
* Clock Frequency for ADC conversion.
/**
* 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$ type = "int"
* $WIZ$ supports = "at91"
+ * $WIZ$ max = 5000000
*/
#define CONFIG_ADC_CLOCK 4800000UL
*/
#define CONFIG_ADC_CLOCK 4800000UL
@@
-67,16
+69,16
@@
* Minimum time for starting up a conversion [us].
*
* $WIZ$ type = "int"
* 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
/**
* $WIZ$ supports = "at91"
*/
#define CONFIG_ADC_STARTUP_TIME 20
/**
- * Minimum time for sample and hold [
u
s].
+ * Minimum time for sample and hold [
n
s].
*
* $WIZ$ type = "int"
*
* $WIZ$ type = "int"
- * $WIZ$ min =
"0"
+ * $WIZ$ min =
600
* $WIZ$ supports = "at91"
*/
#define CONFIG_ADC_SHTIME 834
* $WIZ$ supports = "at91"
*/
#define CONFIG_ADC_SHTIME 834
@@
-94,8
+96,8
@@
* ADC clock divisor from main crystal.
*
* $WIZ$ type = "int"
* ADC clock divisor from main crystal.
*
* $WIZ$ type = "int"
- * $WIZ$ min =
"2"
- * $WIZ$ max =
"128"
+ * $WIZ$ min =
2
+ * $WIZ$ max =
128
* $WIZ$ supports = "avr"
*/
#define CONFIG_ADC_AVR_DIVISOR 2
* $WIZ$ supports = "avr"
*/
#define CONFIG_ADC_AVR_DIVISOR 2