a
VNH Class Reference
#include <vnh.hpp>
Inherits drivers::ICurrentGetter, and drivers::ICommandSetter.
Public Member Functions | |
VNH (PinName, PinName, PinName, PinName) | |
VNH class constructor. | |
~VNH () | |
VNH class destructor. | |
void | Start (void) |
Start method. | |
void | Stop (void) |
Stop method. | |
void | Run (float speed) |
Run method. | |
void | Brake () |
Brake method. | |
void | Inverse (float f_speed) |
Inverse method. | |
float | GetCurrent (void) |
Get current method. |
Detailed Description
VNH class.
It is used for implementing motor bridge control.
Definition at line 41 of file vnh.hpp.
Constructor & Destructor Documentation
VNH | ( | PinName | _pwm, |
PinName | _ina, | ||
PinName | _inb, | ||
PinName | _current | ||
) |
Member Function Documentation
float GetCurrent | ( | void | ) |
void Inverse | ( | float | f_speed ) |
void Run | ( | float | speed ) | [virtual] |
Generated on Tue Jul 12 2022 22:40:51 by 1.7.2