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

📄 project.prm

📁 电动车电流流量计显示程序. 单片机根据采样电阻采得电流后通过数码管显示当前电流是多少安培.
💻 PRM
字号:
/* This is a linker parameter file for the QY2 */
NAMES END

SEGMENTS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
  Z_RAM  = READ_WRITE 0x0080 TO 0x00FF;
  ROM    = READ_ONLY  0xF800 TO 0xFDFF;
END

PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */
  DEFAULT_ROM                   INTO  ROM;
  DEFAULT_RAM                   INTO Z_RAM;
  _DATA_ZEROPAGE, MY_ZEROPAGE   INTO Z_RAM;
END

STACKSIZE 0x30

//VECTOR 0 _Startup /* reset vector: this is the default entry point for a C/C++ application. */
//VECTOR 0 Entry  /* reset vector: this is the default entry point for a Assembly application. */
//INIT Entry      /* for assembly applications: that this is as well the initialization entry point */
VECTOR ADDRESS 0xFFFE _Startup
VECTOR ADDRESS 0xFFFC SWI_Int
VECTOR ADDRESS 0xFFFA IRQ_Int
VECTOR ADDRESS 0xFFF8 0xaf08 
VECTOR ADDRESS 0xFFF6 TIMCh0_Int/* timer channel 0 interrupt service routine */
VECTOR ADDRESS 0xFFF4 TIMCh1_Int/* timer channel 1 interrupt service routine */
VECTOR ADDRESS 0xFFF2 TIMOv_Int /* timer Overflow interrupt service routine */
VECTOR ADDRESS 0xFFE0 KBI_Int   /* Kebyboard Interrupt service routine */
VECTOR ADDRESS 0xFFDE AD_Int    /* A/D interrupt service routine */

⌨️ 快捷键说明

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