ram.inc

来自「胎压监测系统接收端控制器motorolar开发源代码」· INC 代码 · 共 34 行

INC
34
字号
* 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 + =
减小字号Ctrl + -
显示快捷键?