📄 diffamp.h
字号:
//***********************************************************************
//***********************************************************************
//
// DiffAmp.h
//
// C declarations for Generic Switched Cap (SCBLOCK) User Module.
//
// Rev B, 2002 AUG 22
//
// Copyright: Cypress Micro Systems 2001-2002. All Rights Reserved
//
//************************************************************************
//************************************************************************
#include <M8C.h>
#define DiffAmp_OFF 0
#define DiffAmp_LOWPOWER 1
#define DiffAmp_MEDPOWER 2
#define DiffAmp_HIGHPOWER 3
#pragma fastcall DiffAmp_Start
#pragma fastcall DiffAmp_SetPower
#pragma fastcall DiffAmp_Stop
extern void DiffAmp_Start(BYTE bPower);
extern void DiffAmp_SetPower(BYTE bPower);
extern void DiffAmp_Stop(void);
/************************************************
* Hardware Register Definitions
*************************************************/
#pragma ioport DiffAmp_cr0: 0x090
BYTE DiffAmp_cr0;
#pragma ioport DiffAmp_cr1: 0x091
BYTE DiffAmp_cr1;
#pragma ioport DiffAmp_cr2: 0x092
BYTE DiffAmp_cr2;
#pragma ioport DiffAmp_cr3: 0x093
BYTE DiffAmp_cr3;
#pragma ioport DiffAmp_Comp_Ctrl: 0x064
BYTE DiffAmp_Comp_Ctrl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -