MAV'RIC
|
Public Member Functions | |
virtual bool | init (void)=0 |
Initialize the hardware line for servos. | |
virtual bool | set_pulse_width_us (uint16_t pulse_us)=0 |
Set pulse width. | |
virtual bool | set_period_us (uint16_t period_us)=0 |
Set pulse period. |
virtual bool Pwm::init | ( | void | ) | [pure virtual] |
Initialize the hardware line for servos.
Implemented in Pwm_stm32, Pwm_chibios, Pwm_avr32, and Pwm_dummy.
virtual bool Pwm::set_period_us | ( | uint16_t | period_us | ) | [pure virtual] |
Set pulse period.
period_us | Pulse period in us |
Implemented in Pwm_stm32, Pwm_chibios, and Pwm_avr32.
virtual bool Pwm::set_pulse_width_us | ( | uint16_t | pulse_us | ) | [pure virtual] |
Set pulse width.
pulse_us | Pulse length in us |
Implemented in Pwm_stm32, Pwm_chibios, and Pwm_avr32.