aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F7xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-07-08 14:08:25 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-07-08 14:08:25 +0000
commit2cec1789e1291f2ce1c1ebe1b942784e6767ab2b (patch)
treeb80ce69b828b1723000a73b5a2d339b692a8f8b9 /testhal/STM32/STM32F7xx
parent32d4ce8ee43227c7a630c7511b3f69a93c1a821e (diff)
downloadChibiOS-2cec1789e1291f2ce1c1ebe1b942784e6767ab2b.tar.gz
ChibiOS-2cec1789e1291f2ce1c1ebe1b942784e6767ab2b.tar.bz2
ChibiOS-2cec1789e1291f2ce1c1ebe1b942784e6767ab2b.zip
Added analog watchdog functionality to STM32 ADCv2 driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12149 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32/STM32F7xx')
-rw-r--r--testhal/STM32/STM32F7xx/GPT-ADC/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F7xx/GPT-ADC/main.c b/testhal/STM32/STM32F7xx/GPT-ADC/main.c
index 031b32f06..92a7da91c 100644
--- a/testhal/STM32/STM32F7xx/GPT-ADC/main.c
+++ b/testhal/STM32/STM32F7xx/GPT-ADC/main.c
@@ -103,6 +103,8 @@ static const ADCConversionGroup adcgrpcfg1 = {
ADC_SMPR1_SMP_SENSOR(ADC_SAMPLE_144) |
ADC_SMPR1_SMP_VREF(ADC_SAMPLE_144), /* SMPR1 */
0, /* SMPR2 */
+ 0, /* HTR */
+ 0, /* LTR */
0, /* SQR1 */
0, /* SQR2 */
ADC_SQR3_SQ2_N(ADC_CHANNEL_SENSOR) |