35 #define PIOS_SERVO_MAX_BANKS 8
48 int (*
set_mode)(
const uint16_t *out_rate,
const int banks,
49 const uint16_t *channel_max,
const uint16_t *channel_min);
62 extern int PIOS_Servo_SetMode(
const uint16_t *out_rate,
const int banks,
const uint16_t *channel_max,
const uint16_t *channel_min);
66 uint16_t max_val, uint16_t min_val);
bool PIOS_Servo_IsDshot(uint8_t servo)
void PIOS_Servo_Set(uint8_t servo, float position)
int(* set_mode)(const uint16_t *out_rate, const int banks, const uint16_t *channel_max, const uint16_t *channel_min)
void PIOS_Servo_SetFraction(uint8_t servo, uint16_t fraction, uint16_t max_val, uint16_t min_val)
int PIOS_Servo_GetPins(dio_tag_t *dios, int max_dio)
void PIOS_Servo_DisableChannel(int channel)
void PIOS_Servo_PrepareForReset()
Determines the APB clock used by a given timer.
void PIOS_Servo_SetCallbacks(const struct pios_servo_callbacks *cb)
int PIOS_Servo_SetMode(const uint16_t *out_rate, const int banks, const uint16_t *channel_max, const uint16_t *channel_min)
PIOS_Servo_SetMode Sets the PWM output frequency and resolution. An output rate of 0 indicates Synchr...
void PIOS_Servo_Update(void)
void(* set)(uint8_t servo, float position)