diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-18 15:30:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-18 15:30:10 +0000 |
commit | 8b4219aa883e47406c1134f8b10982393a99b61e (patch) | |
tree | 97a6dfcc915d79fb7180230acc4ebddf1d2f947c /testhal/STM32F37x/ADC | |
parent | f24f61dc0ee1dd8a4b538bdcbfaac870aa39816a (diff) | |
download | ChibiOS-8b4219aa883e47406c1134f8b10982393a99b61e.tar.gz ChibiOS-8b4219aa883e47406c1134f8b10982393a99b61e.tar.bz2 ChibiOS-8b4219aa883e47406c1134f8b10982393a99b61e.zip |
STM32F37x SDADC driver reworked, not tested yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5451 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F37x/ADC')
-rw-r--r-- | testhal/STM32F37x/ADC/main.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testhal/STM32F37x/ADC/main.c b/testhal/STM32F37x/ADC/main.c index fce807084..c2e81b4c3 100644 --- a/testhal/STM32F37x/ADC/main.c +++ b/testhal/STM32F37x/ADC/main.c @@ -62,13 +62,15 @@ static const ADCConversionGroup adcgrpcfg1 = { NULL,
adcerrorcallback,
.u.adc = {
- 0, /* CR1 */
- 0, /* CR2 */
- { /* SMPR[2] */
+ 0, /* CR1 */
+ 0, /* CR2 */
+ 0, /* LTR */
+ 4095, /* HTR */
+ { /* SMPR[2] */
0,
0
},
- { /* SQR[3] */
+ { /* SQR[3] */
0,
0,
0
|