Servo device state. More...
#include <servo.h>
| Data Fields | |
| const servo_params_t * | params | 
| Parameters of this servo. | |
| 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. | |
| uint16_t servo::max | 
Maximum PWM duty cycle / timer target matching servo_params_t::min_us.
Note that the actual PWM frequency can be significantly different from the requested one, depending on what the hardware can generate using the clock source and clock dividers available.
| uint16_t servo::min | 
Minimum PWM duty cycle / timer target matching servo_params_t::min_us.
Note that the actual PWM frequency can be significantly different from the requested one, depending on what the hardware can generate using the clock source and clock dividers available.
| const servo_params_t* servo::params |