Move PT1000 Measurement from ADC1 to ADC3 in order to make ADC1 free for Safety ADC implementation

This commit is contained in:
2020-05-16 20:59:51 +02:00
parent b9b899b4f6
commit dc8beefb63
2 changed files with 22 additions and 17 deletions

View File

@@ -24,6 +24,11 @@
#include <stdbool.h>
#include <stdint.h>
#include <stm32/stm32f4xx.h>
/*If this is changed, change DMA code to fit the channel assignment! */
#define ADC_PT1000_PERIPH ADC3
#define ADC_PT1000_DMA2_STREAM0_CHANNEL 2
/**
* @brief Moving average filter coefficient for PT1000 measurement
*/