Public Member Functions | Public Attributes
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>

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Compares two SVHControllerState objects.

Definition at line 66 of file SVHControllerState.h.


Member Data Documentation

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

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

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

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 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.


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


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Fri Aug 28 2015 12:59:20