Public Member Functions | Public Attributes | List of all members
driver_svh::SVHControllerState Struct Reference

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
 

Detailed Description

The SVHControllerState indicates the current state of the MeCoVis controller IC which is used in the SVH.

Definition at line 47 of file SVHControllerState.h.

Constructor & Destructor Documentation

◆ SVHControllerState()

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 70 of file SVHControllerState.h.

Member Function Documentation

◆ operator==()

bool driver_svh::SVHControllerState::operator== ( const SVHControllerState other) const
inline

Compares two SVHControllerState objects.

Definition at line 86 of file SVHControllerState.h.

Member Data Documentation

◆ cur_ctrl

uint16_t driver_svh::SVHControllerState::cur_ctrl

Enable/Disbale of current controller (0x0001 to Activate)

Definition at line 67 of file SVHControllerState.h.

◆ pos_ctrl

uint16_t driver_svh::SVHControllerState::pos_ctrl

Enable/Disable of position controller (0x0001 to Activate )

Definition at line 65 of file SVHControllerState.h.

◆ pwm_active

uint16_t driver_svh::SVHControllerState::pwm_active

Currently unused but should be called the same way as pwm_reset is

Note
This flag is currently unused by the hardware but should be handled exactly the same as pwm reset at the moment

Definition at line 63 of file SVHControllerState.h.

◆ pwm_fault

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)

Note
The Faults are not yet mapped to channels directly so the information should only be treated as a fault/no fault

Definition at line 52 of file SVHControllerState.h.

◆ pwm_otw

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)

Note
The Faults are not yet mapped to channels directly so the information should only be treated as a fault/no fault

Definition at line 56 of file SVHControllerState.h.

◆ pwm_reset

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 59 of file SVHControllerState.h.


The documentation for this struct was generated from the following file:


schunk_svh_library
Author(s): Georg Heppner, Lars Pfotzer, Felix Exner, Johannes Mangler, Stefan Scherzinger, Pascal Becker
autogenerated on Fri Apr 14 2023 02:53:52