The SVHControllerState indicates the current state of the MeCoVis controller IC which is used in the SVH. More...
#include <SVHControllerState.h>
Public Member Functions | |
bool | operator== (const SVHControllerState &other) const |
Compares two SVHControllerState objects. | |
SVHControllerState (uint16_t _pwm_fault=0, uint16_t _pwm_otw=0, uint16_t _pwm_reset=0, uint16_t _pwm_active=0, uint16_t _pos_ctrl=0, uint16_t _cur_ctrl=0) | |
Default constructor with zero values for everything. | |
Public Attributes | |
uint16_t | cur_ctrl |
Enable/Disbale of current controller (0x0001 to Activate) | |
uint16_t | pos_ctrl |
Enable/Disable of position controller (0x0001 to Activate ) | |
uint16_t | pwm_active |
uint16_t | pwm_fault |
uint16_t | pwm_otw |
uint16_t | pwm_reset |
Bitmask for low-active resets of the channels (0-8). Channel 9 (0x0200) is a special channel that activates a 12VDV-DV converter for the small motors. |
The SVHControllerState indicates the current state of the MeCoVis controller IC which is used in the SVH.
Definition at line 37 of file SVHControllerState.h.
driver_svh::SVHControllerState::SVHControllerState | ( | uint16_t | _pwm_fault = 0 , |
uint16_t | _pwm_otw = 0 , |
||
uint16_t | _pwm_reset = 0 , |
||
uint16_t | _pwm_active = 0 , |
||
uint16_t | _pos_ctrl = 0 , |
||
uint16_t | _cur_ctrl = 0 |
||
) | [inline] |
Default constructor with zero values for everything.
Definition at line 56 of file SVHControllerState.h.
bool driver_svh::SVHControllerState::operator== | ( | const SVHControllerState & | other | ) | const [inline] |
Compares two SVHControllerState objects.
Definition at line 66 of file SVHControllerState.h.
Enable/Disbale of current controller (0x0001 to Activate)
Definition at line 53 of file SVHControllerState.h.
Enable/Disable of position controller (0x0001 to Activate )
Definition at line 51 of file SVHControllerState.h.
Currently unused but should be called the same way as pwm_reset is
Definition at line 49 of file SVHControllerState.h.
Fault indication of the controllers (0x001F -> high bit to reset software state. 0x00 -> low bit to reset hardware)
Definition at line 41 of file SVHControllerState.h.
Over Temperature Warning of the controllers (0x001F -> high bit to reset software state. 0x00 -> low bit to reset hardware)
Definition at line 44 of file SVHControllerState.h.
Bitmask for low-active resets of the channels (0-8). Channel 9 (0x0200) is a special channel that activates a 12VDV-DV converter for the small motors.
Definition at line 46 of file SVHControllerState.h.