cpwm.h

来自「good luck to everyone!」· C头文件 代码 · 共 19 行

H
19
字号
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.							  */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
/*----------------------------------------------------------------------------*/

#ifndef C_PWM_H
#define C_PWM_H

#include <VxWorks.h>
#include "CWrappers.h"
#include "PWM.h"

PWM *AllocatePWM(UINT32 slot, UINT32 channel, SensorCreator creator);
PWM *AllocatePWM(UINT32 channel, SensorCreator creator);
void DeletePWM(UINT32 slot, UINT32 channel);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?