Loading...
Searching...
No Matches

Servo device state. More...

Detailed Description

Servo device state.

Definition at line 172 of file servo.h.

#include <servo.h>

Data Fields

const servo_params_tparams
 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.
 

Field Documentation

◆ max

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.

Definition at line 191 of file servo.h.

◆ min

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.

Definition at line 182 of file servo.h.

◆ params

const servo_params_t* servo::params

Parameters of this servo.

Definition at line 173 of file servo.h.


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