Loading...
Searching...
No Matches
servo_pwm_params_t Struct Reference

PWM configuration parameters for a servos. More...

Detailed Description

PWM configuration parameters for a servos.

Only used with

Definition at line 83 of file servo.h.

#include <servo.h>

Data Fields

uint16_t res
 PWM resolution to use.
 
uint16_t freq
 PWM frequency to use.
 
pwm_t pwm
 PWM dev the servo is connected to.
 

Field Documentation

◆ freq

uint16_t servo_pwm_params_t::freq

PWM frequency to use.

Definition at line 85 of file servo.h.

◆ pwm

pwm_t servo_pwm_params_t::pwm

PWM dev the servo is connected to.

Definition at line 86 of file servo.h.

◆ res

uint16_t servo_pwm_params_t::res

PWM resolution to use.

Definition at line 84 of file servo.h.


The documentation for this struct was generated from the following file: