亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? isd51.h

?? 利用NRF9e5芯片編寫的C51源代碼
?? H
字號:
//
//  ISD51  In-System Debugger for 8051 based microcontrollers
//  Copyright KEIL ELEKTRONIK GmbH and Keil Software, Inc. 2000 - 2003
//  Version 2.03a
//------------------------------------------------------------------------------
//  ISD51.H:  This header file allows the configuration of the ISD51
//            In-System Monitor
//
//  Copy this file to your project folder and add the copy to your uVision2
//  project.  You can customize several parameters of the ISD51 In-System 
//  Monitor within this configuration file.
//
//------------------------------------------------------------------------------
//  ISD51 Memory Space
//  ==================
//
//  The following define specifies the size of the on-chip DATA/IDATA RAM.
//  Most 8051 devices have 256 bytes IDATA RAM.  Some devices offer just
//  128 Bytes.  ISD51 uses 1 Byte in this IDATA.  
//
//  If you are using software breakpoints, each breakpoint requires another 
//  2 Bytes IDATA space.  For example, if two breakpoints are defined, ISD51
//  uses the IDATA locations 0xFB .. 0xFF.

#define RAMSIZE    0x100   // default is 0x100 => 256 bytes IDATA RAM

//  The option "Verify if application in ROM is identical to current project"
//  that is enabled in uVision2 under "Project - Options for Target - Debug -
//  Use ISD51 - Settings" compares ROM content against the current project.
//  CMP_START and CMP_END specify address ranges for comparing memory contents.
//  Outside the specified range CODE memory mismatches are ignored.
#define CMP_START 0x0     // default is 0
#define CMP_END   0xFFFF  // default is 64KB (0xFFFF)

//------------------------------------------------------------------------------
//
//  ISD51 UART Interface
//  ====================
//
//  ISD51 uses a standard on-chip 8051 UART as communication interface.  The
//  following assembler macros allow you to change the UART interface used by 
//  ISD51.

#ifndef __C51__

/* 8051 SFR Register addresses for on-chip 8051 UART */
sfr  SCON = 0x98;
sfr  SBUF = 0x99;
sfr  IE   = 0xA8;

/*  SCON  Bits */
sbit TI   = SCON^1;
sbit RI   = SCON^0;

/* IE Bits */
sbit ES   = IE^4;
sbit EA   = IE^7;

CLR_TI   MACRO             ; Clear Transmit Interrupt Flag 
         CLR     TI        ; No CPU register may be changed here
         ENDM

SET_TI   MACRO             ; Set   Transmit Interrupt Flag
         SETB    TI        ; No CPU register may be changed here
         ENDM

JNB_TI   MACRO   label     ; Jump if Transmit Interrupt Flag not set
         JNB     TI,label  ; PSW may be modified without saving it
         ENDM

WR_SBUF  MACRO             ; Write ACC to SBUF
         MOV     SBUF,A    ; ACC and PSW may be modified without saving it
         ENDM

CLR_RI   MACRO             ; Clear Receiver Interrupt Flag 
         CLR     RI        ; No CPU register may be changed here
         ENDM

JB_RI    MACRO   label     ; Jump if Receiver Interrupt Flag set
         JB      RI,label  ; ACC and PSW may be modified without saving it
         ENDM

JNB_RI   MACRO   label     ; Jump if Receiver Interrupt Flag not set
         JNB     RI,label  ; ACC and PSW may be modified without saving it
         ENDM

RD_SBUF  MACRO             ; Return SBUF in ACC
         MOV    A,SBUF     ; ACC and PSW may be modified without saving it
         ENDM

CLR_ES   MACRO             ; Disable Serial Interrupt
         CLR    ES         ; No CPU register may be changed here
         ENDM

SET_ES   MACRO             ; Enable Serial Interrupt
         SETB   ES         ; No CPU register may be changed here
         ENDM

JNB_ES   MACRO   label     ; Jump if Receiver Interrupt Flag not set
         JNB     ES,label  ; ACC and PSW may be modified without saving it
         ENDM

SAVE_ES  MACRO             ; Save Serial Interrupt enable bit to Carry
         MOV    C,ES       ; ACC and PSW may be modified without saving it
         ENDM

RESTO_ES MACRO             ; Restore Serial Interrupt enable bit from Carry
         MOV    ES,C       ; ACC and PSW may be modified without saving it
         ENDM

SINTRVEC EQU    0x23       ; Interrupt Vector Address of UART interrupt

#endif
//------------------------------------------------------------------------------
//
//  ISD51 CODE MEMORY ACCESS FUNCTIONS FOR HARDWARE BREAKPOINTS 
//  ===========================================================
//
//  For devices that support IAP (In-Application Programming) ISD51 may modify
//  the code memory to insert CALL instructions for flash breakpoints.  The IAP
//  functions are configured below:
//
//  The macro CWRITE defines a flash erase and programming function that writes
//  new content to a Flash CODE ROM block.  The new content data are store in
//  on-chip IDATA RAM at address CBLK.  The Flash CODE ROM block address is
//  passed in the register A:R0 (A is MSB, R0 is LSB).

#define CBLK_SZ   0        // Flash block size for CWRITE, valid are:
                           // 1, 2, 4, 8, 16, 32, 64, and 128 Bytes. 
//  Note: CBLK_SZ  0 disables hardware breakpoints.  IDS51 will use 
//  software breakpoints instead.

#ifndef __C51__

// define a macro that erases and writes new content to a Flash memory block
// R0 contains LOW address, ACC contains HIGH address of Flash memory block
// Macro returns error code in ACC.  ACC=0 indicates no errors

CWRITE  MACRO              ; write new content data to Flash CODE ROM block
                           ; Flash block address in DPTR
        MOV DPL,R0
        MOV DPH,A
        MOV A,CBLK
        MOV @DPTR,A
        CLR A
        ENDM

#endif


//------------------------------------------------------------------------------
//
//  ISD51 specific Serial User I/O
//  ==============================
//
//  ISD51 offers serial user input/output functions that work via the serial
//  interface that is used for debugging.  The serial user I/O functions are
//  configured below.

//  enable/disable ISD51 specific putchar function for user output.
#define  ISD_PUTCHAR  1    //  set to 0 to disable the putchar function.
                           //  set to 1 to enable the putchar function.

//  enable/disable ISD51 specific _getkey & _iskey function for user input.
#define  ISD_GETKEY   1    //  set to 0 to disable the _getkey/_iskey function.
                           //  set to 1 to enable the _getkey/_iskey function.

//------------------------------------------------------------------------------
//
//  ISD51 Functions
//  ===============
//
//  The following C Macro define the IDS51 functions
#ifdef __C51__

#include <absacc.h>

extern void __isd_init (void);   // ISD51 core init function

#define ISDinit()                                                      \
  if (ES == 0)  {        /* Is ISD51 UART already initialized?     */  \
    __isd_init ();       /* Init ISD51 core & enable ISD interrupt */  \
  }

#define ISDwait()                                                      \
  while (1)  {                                                         \
    if (RI)  {           /* wait until Debugger sends 0xA5 */          \
      if (SBUF == 0xA5)  break;                                        \    
      RI = 0;                                                          \
    }                                                                  \
  }                                                                    \
  __isd_init ();         /* Init ISD51 core & enable ISD interrupt */

#define ISDcheck()                                                     \
  if (ES == 0)  {        /* Is ISD51 UART already initialized?     */  \
    if (RI)  {           /* wait until Debugger sends 0xA5 */          \
      if (SBUF != 0xA5) RI = 0;                                        \
      else              __isd_init (); /* Init core & ISD interrupt */ \
    }                                                                  \
  }                                                                    \

#define ISDdisable()     /* Disable ISD Interrupt                  */  \
    ES = 0;

#define ISDenable()      /* Enable  ISD Interrupt                  */  \
    ES = 1;

#define ISDbreak()       /* hard-code program stop (breakpoint) */     \
    TI = 1;              /* Enter ISD Interrupt function */            \
    _nop_ ();

#if ISD_GETKEY            /* user input function                */          
extern bit _iskey (void); /* check if input character available */
#endif

#endif

//------------------------------------------------------------------------------
//
//  ISD51 HARDWARE BREAKREGISTER SUPPORT
//  ====================================
//
//  ISD51 supports Hardware Breakpoints of some specific 8051 devices.
//  Currently the TI MSC device is supported.  If you are running ISD51 on
//  this device you can uncomment the following define statement if you are
//  NOT using flash breakpoints (see CBLK_SZ).
//
// #define  TI_MSC1210_BREAKS

//------------------------------------------------------------------------------
//
//  ISD51 SPECIAL CONFIGURATIONS
//  ============================
//
// ISD51 needs to be configured for specific device features.  Uncomment one 
// of the following define statements if you are using one of these devices.
//
// TI MSC121x version with EAI bit handling
// #define TI_MSC1210
//
// Philips LPC900 version with two additional SFR write functions
// #define PHILIPS_LPC900

//-----------------------------------------------------------------------------
//---------------- !!! End of User Configuration Part    !!! ------------------
//-----------------------------------------------------------------------------

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品蜜臀在线观看| 国产精品国模大尺度视频| 亚洲一区在线观看免费观看电影高清 | 天天操天天干天天综合网| 欧美日韩在线播放三区四区| 亚洲狠狠爱一区二区三区| 欧美视频一区二区| 日韩av电影天堂| 精品美女一区二区| 国产成人自拍在线| 亚洲人成网站色在线观看| 91精彩视频在线| 日韩国产成人精品| 精品国产一区二区亚洲人成毛片 | 国产亚洲自拍一区| 成人黄色电影在线 | 国产.精品.日韩.另类.中文.在线.播放 | 精品在线观看视频| 欧美国产视频在线| 欧美写真视频网站| 久久www免费人成看片高清| 国产无人区一区二区三区| av不卡免费在线观看| 亚洲观看高清完整版在线观看| 欧美一区二区三区性视频| 国产二区国产一区在线观看 | 亚洲香肠在线观看| 2021久久国产精品不只是精品| 成人视屏免费看| 亚洲第一主播视频| 久久免费看少妇高潮| 91福利在线观看| 激情欧美一区二区三区在线观看| 久久免费精品国产久精品久久久久| 99re在线精品| 美女诱惑一区二区| 亚洲免费在线看| xfplay精品久久| 91福利小视频| 国产98色在线|日韩| 亚洲va在线va天堂| 中日韩av电影| 欧美大胆人体bbbb| 欧美在线短视频| 成人小视频在线| 久久国产精品色婷婷| 一区二区三区欧美亚洲| 久久精品欧美一区二区三区麻豆| 欧美日韩国产影片| 丁香桃色午夜亚洲一区二区三区| 日韩综合小视频| 亚洲人成影院在线观看| 国产喷白浆一区二区三区| 欧美性感一类影片在线播放| 不卡的av在线播放| 国产激情视频一区二区在线观看| 日本特黄久久久高潮| 尤物在线观看一区| 1024精品合集| 中文字幕不卡在线观看| 久久久亚洲国产美女国产盗摄| 9191久久久久久久久久久| 欧美羞羞免费网站| 色999日韩国产欧美一区二区| 成人v精品蜜桃久久一区| 国产麻豆成人传媒免费观看| 日本亚洲欧美天堂免费| 一区二区三区**美女毛片| 国产精品成人网| 亚洲国产电影在线观看| 亚洲精品一区二区三区蜜桃下载| 日韩一区二区免费在线观看| 欧美日韩高清一区二区| 欧美性受xxxx黑人xyx性爽| 色综合天天在线| 91日韩精品一区| 成人av先锋影音| 国产成人av网站| 成人免费毛片高清视频| 国产99久久久国产精品潘金 | 亚洲制服欧美中文字幕中文字幕| ●精品国产综合乱码久久久久| 国产精品久久久久久久裸模| 久久久国产精华| 亚洲国产成人在线| 日韩码欧中文字| 亚洲一区二区在线观看视频| 亚洲小说春色综合另类电影| 婷婷久久综合九色国产成人| 亚洲国产综合视频在线观看| 天堂午夜影视日韩欧美一区二区| 香蕉乱码成人久久天堂爱免费| 夜色激情一区二区| 亚瑟在线精品视频| 免费不卡在线观看| 国产一区二区视频在线| 成人性色生活片| 欧美午夜一区二区三区免费大片| 欧美电影在线免费观看| 精品久久国产字幕高潮| 中文字幕免费一区| 亚洲精品免费在线观看| 美女国产一区二区三区| 视频一区二区中文字幕| 久久69国产一区二区蜜臀| 国产一区二区精品久久| 99久久精品免费看| 欧美日韩国产综合久久 | 欧美日产在线观看| 欧美大片在线观看一区二区| 国产精品丝袜久久久久久app| 亚洲精品国产一区二区三区四区在线 | 久久―日本道色综合久久| 国产精品福利电影一区二区三区四区| 亚洲男同性视频| 日韩高清不卡在线| 国产精品一区专区| av中文一区二区三区| 欧美日韩三级一区| 欧美极品另类videosde| 亚洲一区二区av在线| 国产一区二区三区免费观看| 一本色道a无线码一区v| 日韩精品专区在线影院观看| 国产精品不卡一区二区三区| 日韩高清一区在线| 成人av电影在线| 日韩欧美中文字幕制服| 亚洲三级视频在线观看| 美女视频黄 久久| bt欧美亚洲午夜电影天堂| 91精品在线免费| 亚洲乱码国产乱码精品精小说| 美女网站一区二区| 在线视频国产一区| 国产欧美精品国产国产专区| 日本美女一区二区三区| 91在线精品一区二区三区| 精品国产露脸精彩对白 | 7777精品伊人久久久大香线蕉的 | 国产成人精品免费网站| 欧美日韩成人一区| 一区免费观看视频| 久久精品99久久久| 欧美高清视频www夜色资源网| 最新国产の精品合集bt伙计| 极品美女销魂一区二区三区免费| 欧美午夜在线一二页| 综合欧美亚洲日本| 岛国一区二区在线观看| 精品久久国产字幕高潮| 日本欧美一区二区| 欧美日韩中字一区| 一区在线播放视频| 成人av在线资源| 国产欧美日产一区| 国产中文字幕一区| 精品国产91久久久久久久妲己| 亚洲国产美女搞黄色| 91一区二区三区在线播放| 欧美激情在线看| 国产成人在线视频网址| 久久日韩精品一区二区五区| 麻豆91在线观看| 日韩欧美国产综合| 美国一区二区三区在线播放| 91精品国产免费| 日日夜夜免费精品| 欧美精品黑人性xxxx| 天堂影院一区二区| 欧美一区中文字幕| 人人爽香蕉精品| 日韩欧美亚洲一区二区| 日韩精品一卡二卡三卡四卡无卡| 欧美日韩情趣电影| 日韩在线一二三区| 日韩欧美中文字幕公布| 久久爱www久久做| 久久女同精品一区二区| 国产精品1024| 亚洲乱码国产乱码精品精小说 | 国产精品伦一区二区三级视频| 成人av一区二区三区| 亚洲美女在线一区| 欧美日韩一二三区| 男女视频一区二区| 欧美精品一区二区三区高清aⅴ| 国产麻豆欧美日韩一区| 国产精品久久看| 欧美又粗又大又爽| 美女免费视频一区| 国产精品无人区| 在线观看国产精品网站| 日韩和欧美一区二区三区| 精品日韩一区二区三区免费视频| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产一区二区免费看| 国产精品久久久久婷婷二区次| 色综合久久中文字幕综合网| 国产在线播放一区二区三区|