project.prm
来自「电动车电流流量计显示程序. 单片机根据采样电阻采得电流后通过数码管显示当前电流是」· PRM 代码 · 共 29 行
PRM
29 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?