mirror of https://github.com/rusefi/wideband.git
Rev 1pwm (#242)
* f1_dual_rev1: fix analog aux output PWM definitions (cherry picked from commit 50e346dfcb9f223c6e0ee6cdc700cb376b536834) * fix pwm definitions (cherry picked from commit ce9e69b997290bbd7abcfe5af2926b1d556070cf) --------- Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
67f4aa45fe
commit
b1bf9bf185
|
@ -55,10 +55,14 @@
|
|||
|
||||
// TIM1 - DAC for AUX outputs
|
||||
#define AUXOUT_DAC_PWM_DEVICE PWMD8
|
||||
// PB14 - TIM1_CH2N
|
||||
#define AUXOUT_DAC_PWM_CHANNEL_0 1
|
||||
// PB15 - TIM1_CH3N
|
||||
#define AUXOUT_DAC_PWM_CHANNEL_1 3
|
||||
// PC6 - TIM1_CH2N
|
||||
#define AUXOUT_DAC_PWM_CHANNEL_0 0
|
||||
// Riple cancelation output (should be inverted)
|
||||
#define AUXOUT_DAC_PWM_CHANNEL_0_NC 1
|
||||
// PC8 - TIM1_CH3N
|
||||
#define AUXOUT_DAC_PWM_CHANNEL_1 2
|
||||
// Riple cancelation output (should be inverted)
|
||||
#define AUXOUT_DAC_PWM_CHANNEL_1_NC 3
|
||||
|
||||
#define ID_SEL1_PORT GPIOC
|
||||
#define ID_SEL1_PIN 13
|
||||
|
|
Loading…
Reference in New Issue