22 #include "subsystems/actuators/actuators_pwm_arch.h"
26 #include "generated/airframe.h"
30 #define SERVOS_PERIOD SERVOS_TICS_OF_USEC(25000)
34 #if defined PWM_SERVO_0
37 #if defined PWM_SERVO_1
40 #if defined PWM_SERVO_2
43 #if defined PWM_SERVO_3
46 #if defined PWM_SERVO_4
49 #if defined PWM_SERVO_5
58 #if defined PWM_SERVO_0
59 PWM_SERVO_0_PINSEL = (PWM_SERVO_0_PINSEL & PWM_SERVO_0_PINSEL_MASK) | PWM_SERVO_0_PINSEL_VAL << PWM_SERVO_0_PINSEL_BIT;
61 #if defined PWM_SERVO_1
64 #if defined PWM_SERVO_2
67 #if defined PWM_SERVO_3
70 #if defined PWM_SERVO_4
73 #if defined PWM_SERVO_5
86 #if defined PWM_SERVO_0
89 #if defined PWM_SERVO_1
92 #if defined PWM_SERVO_2
95 #if defined PWM_SERVO_3
98 #if defined PWM_SERVO_4
101 #if defined PWM_SERVO_5
#define PWM_SERVO_5_PINSEL_VAL
#define PWM_SERVO_4_PINSEL
#define PWM_SERVO_1_PINSEL_VAL
#define PWM_SERVO_4_PINSEL_MASK
void actuators_pwm_arch_init(void)
Arch dependent init file.
#define PWM_SERVO_3_PINSEL
#define PWM_SERVO_5_LATCH
const uint8_t pwm_latch_value
#define PWM_SERVO_3_PINSEL_VAL
#define PWM_SERVO_2_PINSEL_VAL
#define PWM_SERVO_5_PINSEL_BIT
#define PWMTCR_COUNTER_ENABLE
#define PWM_SERVO_5_PINSEL
#define PWM_SERVO_2_PINSEL_BIT
#define PWM_SERVO_4_PINSEL_VAL
#define PWM_SERVO_4_LATCH
#define PWM_SERVO_3_PINSEL_MASK
#define PWM_SERVO_1_PINSEL_MASK
#define PWMTCR_PWM_ENABLE
#define PWM_SERVO_2_PINSEL
#define PWM_SERVO_3_LATCH
#define PWM_SERVO_1_PINSEL_BIT
#define PWM_SERVO_5_PINSEL_MASK
#define PWM_SERVO_2_PINSEL_MASK
#define PWM_SERVO_2_LATCH
#define PWM_SERVO_3_PINSEL_BIT
#define PWM_SERVO_1_LATCH
#define PWM_SERVO_4_PINSEL_BIT
#define PWM_SERVO_1_PINSEL