AIC_MOTOR Class Reference
[AIC Host Interface]

#include <aic.h>

Collaboration diagram for AIC_MOTOR:

Collaboration graph
[legend]
List of all members.

Detailed Description

Provices access to the motor driver in an Actuator Interface Card.

Author:
Walter Fetter Lages (w.fetter@ieee.org)
Version:
AIC-1.3.0


Public Member Functions

 AIC_MOTOR (AIC_COMM *comm)
 Initializes the motor driver.

void on (void)
 Turns the motor driver on.

void off (void)
 Turns the motor driver off.

double operator= (double voltage)
 Sets the voltage to be applied by the motor driver.


Constructor & Destructor Documentation

AIC_MOTOR::AIC_MOTOR AIC_COMM comm  ) 
 

Initializes the motor driver.

Parameters:
comm pointer to AIC_COMM object implementing the communication channel


Member Function Documentation

double AIC_MOTOR::operator= double  voltage  ) 
 

Sets the voltage to be applied by the motor driver.

Parameters:
voltage to be applied by the motor driver
Returns:
the duty-cycle of the associated PWM


The documentation for this class was generated from the following file:
Generated on Thu Mar 27 15:33:36 2008 for Actuator Interface Card by doxygen 1.3.6