53 #ifndef SERVO_TIMER_MAX_CHAN 
   65 #define SERVO_TIMER_MAX_CHAN    4 
  120 #if defined(MODULE_SERVO_PWM) || defined(DOXYGEN) 
  128 #if defined(MODULE_SERVO_TIMER) || defined(DOXYGEN) 
  144 #ifdef MODULE_SERVO_PWM 
  152 #ifdef MODULE_SERVO_TIMER 
  191 #ifdef MODULE_SERVO_TIMER 
  196 #if defined(MODULE_SERVO_TIMER) || DOXYGEN 
Low-level timer peripheral driver interface definitions.
 
uint_fast8_t pwm_t
Default PWM type definition.
 
uint_fast8_t tim_t
Default timer type.
 
servo_timer_ctx_t servo_timer_default_ctx
Default timer context.
 
int servo_init(servo_t *dev, const servo_params_t *params)
Initialize servo.
 
#define SERVO_TIMER_MAX_CHAN
In case the servo_timer backend is used to driver the servo, this is the highest channel number usabl...
 
void servo_set(servo_t *dev, uint8_t pos)
Set the servo motor to a specified position.
 
const saul_driver_t servo_saul_driver
The SAUL adaption driver for servos.
 
Low-level PWM peripheral driver interface definitions.
 
SAUL registry interface definition.
 
Definition of the RIOT actuator/sensor interface.
 
Configuration parameters for a servo.
 
uint16_t max_us
Duration of high phase (in µs) for max extension.
 
const servo_pwm_params_t * pwm
Specification of the PWM device the servo is connected to.
 
gpio_t servo_pin
GPIO pin the servo is connected to.
 
uint16_t min_us
Duration of high phase (in µs) for min extension.
 
const servo_timer_params_t * timer
Specification of the timer to use.
 
PWM configuration parameters for a servos.
 
pwm_t pwm
PWM dev the servo is connected to.
 
uint16_t res
PWM resolution to use.
 
uint16_t freq
PWM frequency to use.
 
Memory needed for book keeping when using periph_timer_periodic based servo driver.
 
Timer configuration parameters for a servos.
 
servo_timer_ctx_t * ctx
Per-timer state needed for book keeping.
 
uint16_t servo_freq
Servo frequency (typically 50 Hz or 100 Hz)
 
uint32_t timer_freq
Timer frequency to use.
 
uint16_t min
Minimum PWM duty cycle / timer target matching servo_params_t::min_us.
 
uint16_t max
Maximum PWM duty cycle / timer target matching servo_params_t::min_us.
 
const servo_params_t * params
Parameters of this servo.
 
Functionality for reading [S]ensor [A]ctuator [U]ber [L]ayer sensors as SenML.
 
Utility header providing time unit defines.