📄 sm5000chip.h
字号:
/*
** FILENAME CSm5000Chip.h
**
*/
#ifndef __SM5000CHIP_H__
#define __SM5000CHIP_H__
class CSm5000Chip
{
protected:
int m_WR1[4];
int m_WR2[4];
int m_WR3[4];
int m_WR4;
int m_WR5;
public:
// contruction and destruction
CSm5000Chip();
virtual ~CSm5000Chip();
void SetReg(int RegNo, int Value, int *AxisArray);
void SetReg(int RegNo, int Value, int AxisNo);
void SetReg(int RegNo, int Value);
int GetReg(int RegNo, int AxisNo);
int GetReg(int RegNo);
int GetWR1(int AxisNo);
int GetWR2(int AxisNo);
int GetWR3(int AxisNo);
int GetWR4();
int GetWR5();
void SetWR1(int Value, int *AxisArray);
void SetWR2(int Value, int *AxisArray);
void SetWR3(int Value, int *AxisArray);
void SetWR4(int Value);
void SetWR5(int Value);
};
#endif __SM5000CHIP_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -