diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-21 16:53:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-21 16:53:38 +0000 |
commit | 5477e67307542a7b8ca42f62f5d02f7c01e49c14 (patch) | |
tree | 37d9ba9a4e6d7114c3680087cf520c90930217c6 /nuttx/configs/shenzhou | |
parent | 91e5f3be762398dfef29881ebd339c9deba11d92 (diff) | |
download | px4-nuttx-5477e67307542a7b8ca42f62f5d02f7c01e49c14.tar.gz px4-nuttx-5477e67307542a7b8ca42f62f5d02f7c01e49c14.tar.bz2 px4-nuttx-5477e67307542a7b8ca42f62f5d02f7c01e49c14.zip |
STM32 ADC driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5247 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou')
-rw-r--r-- | nuttx/configs/shenzhou/README.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/configs/shenzhou/README.txt b/nuttx/configs/shenzhou/README.txt index a60019a27..48f183aee 100644 --- a/nuttx/configs/shenzhou/README.txt +++ b/nuttx/configs/shenzhou/README.txt @@ -593,6 +593,12 @@ Shenzhou-specific Configuration Options CONFIG_STM32_ADC1 CONFIG_STM32_ADC2 + Timer and I2C devices may need to the following to force power to be applied + unconditionally at power up. (Otherwise, the device is powered when it is + initialized). + + CONFIG_STM32_FORCEPOWER + Timer devices may be used for different purposes. One special purpose is to generate modulated outputs for such things as motor control. If CONFIG_STM32_TIMn is defined (as above) then the following may also be defined to indicate that @@ -798,6 +804,7 @@ Where <subdir> is one of the following: CONFIG_STM32_TIM1_ADC1=y : Allocate Timer 1 to ADC 1 CONFIG_STM32_ADC1_SAMPLE_FREQUENCY=100 : Set sampling frequency to 100Hz CONFIG_STM32_ADC1_TIMTRIG=0 : Trigger on timer output 0 + CONFIG_STM32_FORCEPOWER=y : Apply power to TIM1 a boot up time CONFIG_EXAMPLES_ADC=y : Enable the apps/examples/adc built-in nxwm |