WPILib 2012
WPILibRoboticsLibraryforFRC
CInterfaces/CPWM.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2008. All Rights Reserved.                                                         */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef C_PWM_H
00008 #define C_PWM_H
00009 
00010 #include <VxWorks.h>
00011 #include "CWrappers.h"
00012 #include "PWM.h"
00013 
00014 PWM *AllocatePWM(UINT8 moduleNumber, UINT32 channel, SensorCreator creator);
00015 PWM *AllocatePWM(UINT32 channel, SensorCreator creator);
00016 void DeletePWM(UINT8 moduleNumber, UINT32 channel);
00017 
00018 #endif
 All Classes Functions Variables