22 #if USE_QUAD_MIXER_ONLY == 1
23 #define MAX_PWM_MOTORS 4
24 #define MAX_PWM_SERVOS 1
28 #elif defined(TARGET_MOTOR_COUNT)
29 #define MAX_PWM_MOTORS TARGET_MOTOR_COUNT
30 #define MAX_PWM_SERVOS 8
31 #define MAX_MOTORS TARGET_MOTOR_COUNT
35 #define MAX_PWM_MOTORS 12
36 #define MAX_PWM_SERVOS 8
42 #define PULSE_1MS (1000) // 1ms pulse width
46 #define PWM_TIMER_MHZ 1
47 #define ONESHOT125_TIMER_MHZ 8
48 #define PWM_BRUSHED_TIMER_MHZ 8
63 #if defined(USE_UART2)
66 #if defined(USE_UART3)
69 #if defined(USE_UART4)
72 #if defined(USE_UART5)
84 bool useChannelForwarding;
85 uint16_t servoPwmRate;
Definition: pwm_mapping.h:130
Definition: pwm_mapping.h:135
Definition: pwm_mapping.h:136
Definition: pwm_mapping.h:133
bool useSoftSerial
Definition: pwm_mapping.h:77
pwmPortFlags_e
Definition: pwm_mapping.h:96
Definition: pwm_mapping.h:132
uint16_t servoCenterPulse
Definition: mixer.h:16
Definition: pwm_mapping.h:139
pwmPortConfiguration_t ioConfigurations[USABLE_TIMER_CHANNEL_COUNT]
Definition: pwm_mapping.h:120
Definition: pwm_mapping.h:129
bool useCurrentMeterADC
Definition: pwm_mapping.h:62
Definition: pwm_mapping.h:128
uint16_t triggerPin
Definition: pwm_mapping.h:53
uint8_t motorCount
Definition: pwm_mapping.h:116
Definition: pwm_mapping.h:51
bool useVbat
Definition: pwm_mapping.h:75
bool useLEDStrip
Definition: pwm_mapping.h:78
bool usePPM
Definition: pwm_mapping.h:59
pwmPortFlags_e flags
Definition: pwm_mapping.h:110
pwmIOConfiguration_t * pwmGetOutputConfiguration(void)
Definition: pwm_mapping.c:637
Definition: pwm_mapping.h:138
Definition: platform.h:43
Definition: pwm_mapping.h:131
GPIO_TypeDef * gpio
Definition: pwm_mapping.h:52
const timerHardware_t * timerHardware
Definition: pwm_mapping.h:111
struct pwmIOConfiguration_s pwmIOConfiguration_t
uint8_t ioCount
Definition: pwm_mapping.h:117
Definition: pwm_mapping.h:108
Definition: pwm_mapping.h:103
uint16_t echoPin
Definition: pwm_mapping.h:54
uint8_t ppmInputCount
Definition: pwm_mapping.h:119
Definition: pwm_mapping.h:127
Definition: pwm_mapping.h:104
bool useRSSIADC
Definition: pwm_mapping.h:61
bool useSerialRx
Definition: pwm_mapping.h:60
Definition: pwm_mapping.h:97
bool airplane
Definition: pwm_mapping.h:88
Definition: pwm_mapping.h:134
Definition: pwm_mapping.h:57
Definition: pwm_mapping.h:114
Definition: pwm_mapping.h:101
struct pwmPortConfiguration_s pwmPortConfiguration_t
struct drv_pwm_config_s drv_pwm_config_t
Definition: pwm_mapping.h:140
Definition: pwm_mapping.h:125
bool useParallelPWM
Definition: pwm_mapping.h:58
bool useOneshot
Definition: pwm_mapping.h:76
Definition: pwm_mapping.h:100
Definition: pwm_mapping.h:126
bool pwmUseInputFiltering
Definition: pwm_mapping.c:645
struct sonarGPIOConfig_s sonarGPIOConfig_t
Definition: pwm_mapping.h:102
Definition: pwm_mapping.h:137
uint16_t idlePulse
Definition: pwm_mapping.h:90
#define USABLE_TIMER_CHANNEL_COUNT
Definition: timer.h:21
sonarGPIOConfig_t * sonarGPIOConfig
Definition: pwm_mapping.h:92
uint8_t pwmInputCount
Definition: pwm_mapping.h:118
Definition: pwm_mapping.h:99
pwmIOConfiguration_t * pwmInit(drv_pwm_config_t *init, const struct pwm_input_config *config)
Definition: pwm_mapping.c:647
uint16_t motorPwmRate
Definition: pwm_mapping.h:89
uint8_t servoCount
Definition: pwm_mapping.h:115
Definition: pwm_mapping.h:98
uint8_t index
Definition: pwm_mapping.h:109