⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diffamp2.h

📁 Application Note Abstract The unique configuration of the PSoC&reg switched capacitor blocks allows
💻 H
字号:
//***********************************************************************
//***********************************************************************
//
//  DiffAmp2.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 DiffAmp2_OFF         0
#define DiffAmp2_LOWPOWER    1
#define DiffAmp2_MEDPOWER    2
#define DiffAmp2_HIGHPOWER   3

#pragma fastcall DiffAmp2_Start
#pragma fastcall DiffAmp2_SetPower
#pragma fastcall DiffAmp2_Stop

extern void DiffAmp2_Start(BYTE bPower);
extern void DiffAmp2_SetPower(BYTE bPower);
extern void DiffAmp2_Stop(void);


/************************************************
*  Hardware Register Definitions
*************************************************/
#pragma ioport  DiffAmp2_cr0:   0x088
BYTE            DiffAmp2_cr0;
#pragma ioport  DiffAmp2_cr1:   0x089
BYTE            DiffAmp2_cr1;
#pragma ioport  DiffAmp2_cr2:   0x08a
BYTE            DiffAmp2_cr2;
#pragma ioport  DiffAmp2_cr3:   0x08b
BYTE            DiffAmp2_cr3;
#pragma ioport  DiffAmp2_Comp_Ctrl: 0x064
BYTE            DiffAmp2_Comp_Ctrl;

⌨️ 快捷键说明

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