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

📄 globalparams.h

📁 单片机USB接口模拟键盘,该程序可以控制PC机的PS/2键盘的NUM LOCK和SCROLL LOCK的灯,以此说明通讯正常
💻 H
字号:
/******************************************************************************
*  Generated by PSoC Designer ver 4.3  b1884 : 23 June, 2006
******************************************************************************/
/******************************************************************************
*	This file contains defines to support oscillator register initialization
*		for CY7C63913-PXC
******************************************************************************/

#define CPU_CLOCK              0x0     //CPU Clock value
#define CPU_CLOCK_MASK         0x1     //CPU Clock mask
#define CPU_CLOCK_JUST         0x0     //CPU Clock value justified

#define CPU_CLOCK_SPEED        0x3     //CPU Clock Speed value
#define CPU_CLOCK_SPEED_MASK   0x7     //CPU Clock Speed mask
#define CPU_CLOCK_SPEED_JUST   0x3     //CPU Clock Speed value justified

#define TIMER_CLOCK            0x0     //Timer Clock value
#define TIMER_CLOCK_MASK       0x3     //Timer Clock mask
#define TIMER_CLOCK_JUST       0x0     //Timer Clock value justified

#define TIMER_CLOCK_SPEED      0x0     //Timer Clock Speed value
#define TIMER_CLOCK_SPEED_MASK 0xc     //Timer Clock Speed mask
#define TIMER_CLOCK_SPEED_JUST 0x0     //Timer Clock Speed value justified

#define CAPT_CLOCK             0x0     //Capture Clock value
#define CAPT_CLOCK_MASK        0x30    //Capture Clock mask
#define CAPT_CLOCK_JUST        0x0     //Capture Clock value justified

#define CAPT_CLOCK_SPEED       0x0     //Capture Clock Speed value
#define CAPT_CLOCK_SPEED_MASK  0xc0    //Capture Clock Speed mask
#define CAPT_CLOCK_SPEED_JUST  0x0     //Capture Clock Speed value justified

#define CAPT_EDGE              0x0     //Capture Edge value
#define CAPT_EDGE_MASK         0x80    //Capture Edge mask
#define CAPT_EDGE_JUST         0x0     //Capture Edge value justified

#define CAPT_PRESCALE          0x0     //Capture Prescale value
#define CAPT_PRESCALE_MASK     0x70    //Capture Prescale mask
#define CAPT_PRESCALE_JUST     0x0     //Capture Prescale value justified

#define USB_CLOCK              0x0     //USB Clock value
#define USB_CLOCK_MASK         0x20    //USB Clock mask
#define USB_CLOCK_JUST         0x0     //USB Clock value justified

#define USB_CLOCK_SPEED        0x0     //CPU Clock Speed value
#define USB_CLOCK_SPEED_MASK   0x40    //CPU Clock Speed mask
#define USB_CLOCK_SPEED_JUST   0x0     //CPU Clock Speed value justified

#define CLOCK_OUT              0x0     //Clock Out value
#define CLOCK_OUT_MASK         0x3     //Clock Out mask
#define CLOCK_OUT_JUST         0x0     //Clock Out value justified

#define EFTB_ENABLE            0x0     //EFTB value
#define EFTB_ENABLE_MASK       0x4     //EFTB mask
#define EFTB_ENABLE_JUST       0x0     //EFTB value justified

#define XOSC_ENABLE            0x0     //External Osc value
#define XOSC_ENABLE_MASK       0x8     //External Osc mask
#define XOSC_ENABLE_JUST       0x0     //External Osc value justified

#define XOSC_XGM               0x0     //External Osc Xgm value
#define XOSC_XGM_MASK          0x1c    //External Osc Xgm mask
#define XOSC_XGM_JUST          0x0     //External Osc Xgm value justified

#define LV_DETECT_LEVEL        0x4     //Low V Detect Level value
#define LV_DETECT_LEVEL_MASK   0x7     //Low V Detect Level mask
#define LV_DETECT_LEVEL_JUST   0x4     //Low V Detect Level value justified

#define PWR_ON_RESET_LEVEL          0x1    //PowerOn Reset Level value
#define PWR_ON_RESET_LEVEL_MASK     0x30   //PowerOn Reset Level mask
#define PWR_ON_RESET_LEVEL_JUST     0x10   //PowerOn Reset Level value justified

#define VREG_ENABLE            0x0     //VREG Enable value
#define VREG_ENABLE_MASK       0x1     //VREG Enable mask
#define VREG_ENABLE_JUST       0x0     //VREG Enable value justified

#define KEEP_ALIVE             0x0     //Keep Alive value
#define KEEP_ALIVE_MASK        0x2     //Keep Alive mask
#define KEEP_ALIVE_JUST        0x0     //Keep Alive value justified

#define WATCHDOG_ENABLE        0x0     //Watchdog Enable value

⌨️ 快捷键说明

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