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. More... | |
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. More... | |
Public Attributes | |
uint16_t | cur_ctrl |
Enable/Disbale of current controller (0x0001 to Activate) More... | |
uint16_t | pos_ctrl |
Enable/Disable of position controller (0x0001 to Activate ) More... | |
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. More... | |
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.
|
inline |
Default constructor with zero values for everything.
Definition at line 56 of file SVHControllerState.h.
|
inline |
Compares two SVHControllerState objects.
Definition at line 66 of file SVHControllerState.h.
uint16_t driver_svh::SVHControllerState::cur_ctrl |
Enable/Disbale of current controller (0x0001 to Activate)
Definition at line 53 of file SVHControllerState.h.
uint16_t driver_svh::SVHControllerState::pos_ctrl |
Enable/Disable of position controller (0x0001 to Activate )
Definition at line 51 of file SVHControllerState.h.
uint16_t driver_svh::SVHControllerState::pwm_active |
Currently unused but should be called the same way as pwm_reset is
Definition at line 49 of file SVHControllerState.h.
uint16_t driver_svh::SVHControllerState::pwm_fault |
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.
uint16_t driver_svh::SVHControllerState::pwm_otw |
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.
uint16_t driver_svh::SVHControllerState::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.
Definition at line 46 of file SVHControllerState.h.