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

📄 ram.inc

📁 胎压检测接收端汇编源码--tpms-rx
💻 INC
字号:
* Ram.inc

**********************************************************************
* Ram variables                                                      *
**********************************************************************
WRITE_SPI       DS      3                               ;To write to CR[2:0] in Romeo2.
BUFFER          DS      3                               ;To temporarily hold write data.
READ_SPI        DS      3                               ;To read from CR[2:0] in Romeo2.
DATA            DS      NB_DATA                         ;Received data sent by Romeo2.  See SPI.asm.
LFCNTH          DS      1                               ;Tire time counters
LFCNTL          DS      1
RFCNTH          DS      1
RFCNTL          DS      1
LRCNTH          DS      1
LRCNTL          DS      1
RRCNTH          DS      1
RRCNTL          DS      1
SWITCH          DS      1                               ;Switch debounce register.
LAST_SWITCH     DS      1                               ;Holds the previous value of SWITCH.
FAST_MODE       DS      1                               ;Holds the fast mode flags.
MEMSP           DS      2                               ;Preserves the stack pointer location
TEMP            DS      1                               ;Temporary for counters, etc.
TEMPTIME        DS      2                               ;Used for timestamp
TIMESTAMP       DS      1                               ;Timestamp added to data frame

 ; The following RAM variables must be kept in this order.
THRESHOLD       DS      1                               ;Pressure threshold for low indication.
LFID            DS      4
RFID            DS      4
LRID            DS      4
RRID            DS      4                               ;Tire ID bytes.

RAMFREE         DS      $70                             ;Spot for the FLASH r/w program to reside

⌨️ 快捷键说明

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