Configuration parameters for a servo. More...
#include <servo.h>
Data Fields | |
const servo_pwm_params_t * | pwm |
Specification of the PWM device the servo is connected to. | |
const servo_timer_params_t * | timer |
Specification of the timer to use. | |
gpio_t | servo_pin |
GPIO pin the servo is connected to. | |
uint16_t | min_us |
Duration of high phase (in µs) for min extension. | |
uint16_t | max_us |
Duration of high phase (in µs) for max extension. | |
uint16_t servo_params_t::max_us |
uint16_t servo_params_t::min_us |
const servo_pwm_params_t* servo_params_t::pwm |
Specification of the PWM device the servo is connected to.
gpio_t servo_params_t::servo_pin |
GPIO pin the servo is connected to.
const servo_timer_params_t* servo_params_t::timer |
Specification of the timer to use.