* 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:
rusefillc 2023-05-03 14:46:32 -04:00 committed by GitHub
parent 67f4aa45fe
commit b1bf9bf185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -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