List of all members.
Public Member Functions |
| Pwm_avr32 (uint8_t id) |
| Constructor.
|
bool | init (void) |
| Initialize the hardware line for servos.
|
bool | set_pulse_width_us (uint16_t pulse_us) |
| Set pulse width.
|
bool | set_period_us (uint16_t period_us) |
| Set pulse period.
|
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
Servo | number (between 0 and 7) |
Member Function Documentation
Initialize the hardware line for servos.
- Returns:
- Success
Implements Pwm.
Set pulse period.
- Parameters:
-
period_us | Pulse period in us |
- Returns:
- Success
Implements Pwm.
Set pulse width.
- Parameters:
-
pulse_us | Pulse length in us |
- Returns:
- Success
Implements Pwm.
The documentation for this class was generated from the following files:
- /home/travis/build/lis-epfl/MAVRIC_Library/hal/avr32/pwm_avr32.hpp
- /home/travis/build/lis-epfl/MAVRIC_Library/hal/avr32/pwm_avr32.cpp