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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? isd51.h

?? 無線收發模塊NRF24E1的開發源碼
?? 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 0x0000     // default is 0
#define CMP_END   0x0FFF  // 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   1        // 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
		MOV	DPL, R0
		MOV  DPH, A
		MOV  A, CBLK
		MOVX @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    !!! ------------------
//-----------------------------------------------------------------------------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品综合免费视频观看| 日韩中文字幕亚洲一区二区va在线| 337p日本欧洲亚洲大胆色噜噜| 精品国产伦一区二区三区观看体验 | 欧美丰满一区二区免费视频 | 麻豆精品视频在线观看| 蜜臀av一区二区三区| 国产精品99久| 色综合av在线| 欧美tickle裸体挠脚心vk| 国产视频一区在线播放| 亚洲三级电影网站| 日韩电影在线看| 国产精品原创巨作av| 国产激情视频一区二区三区欧美| 毛片一区二区三区| 不卡欧美aaaaa| 欧美人妇做爰xxxⅹ性高电影| 日韩视频一区二区三区| 中文字幕在线不卡一区| 天天操天天干天天综合网| 国产精品综合网| 欧美三级中文字幕| 久久久久久99久久久精品网站| 久久久精品综合| 亚洲午夜日本在线观看| 成人午夜在线播放| 日韩免费高清视频| 一级中文字幕一区二区| 国产在线视视频有精品| 在线观看一区二区视频| 久久久亚洲国产美女国产盗摄 | 亚洲色图一区二区| 日本成人在线看| 91免费国产视频网站| 精品久久久久香蕉网| 亚洲123区在线观看| voyeur盗摄精品| 精品成人佐山爱一区二区| 亚洲一区在线看| 东方aⅴ免费观看久久av| 欧美日本精品一区二区三区| 国产精品卡一卡二| 福利一区福利二区| 精品女同一区二区| 日韩**一区毛片| 欧美日韩国产美女| 亚洲自拍另类综合| 91小宝寻花一区二区三区| 久久久久久日产精品| 麻豆精品在线播放| 在线播放91灌醉迷j高跟美女| 亚洲黄色尤物视频| 色哟哟国产精品| 亚洲欧美日韩中文字幕一区二区三区 | 欧美a一区二区| 91精品国产日韩91久久久久久| 一区二区三区蜜桃网| 99久久婷婷国产精品综合| 日韩一区二区不卡| 免费人成网站在线观看欧美高清| 911精品产国品一二三产区| 亚洲电影视频在线| 欧美日韩国产在线观看| 午夜天堂影视香蕉久久| 成人aa视频在线观看| 国产精品第四页| 91在线观看地址| 一区二区三区免费看视频| 91麻豆国产在线观看| 亚洲资源在线观看| 制服视频三区第一页精品| 天天影视网天天综合色在线播放| 91精品在线免费观看| 麻豆免费看一区二区三区| 久久久久久免费网| 成人妖精视频yjsp地址| 中文字幕视频一区| 在线视频欧美精品| 蜜臀久久99精品久久久久久9| 26uuu色噜噜精品一区二区| 国产精品乡下勾搭老头1| 日韩一区中文字幕| 欧美日韩免费在线视频| 极品少妇xxxx偷拍精品少妇| 久久影院视频免费| 99久久er热在这里只有精品66| 亚洲精品国产无套在线观| 欧美精品vⅰdeose4hd| 久久精品免费看| 国产色一区二区| 在线精品视频一区二区三四| 蜜桃在线一区二区三区| 中文成人综合网| 欧美日韩精品一区二区在线播放| 久久99国产精品麻豆| 日本一区二区三区高清不卡| 欧美在线一区二区三区| 久久精品噜噜噜成人88aⅴ| 中文字幕在线不卡视频| 欧美一区二区三区日韩| 99久久久无码国产精品| 亚洲va韩国va欧美va| 久久精品人人爽人人爽| 欧美午夜宅男影院| 懂色av中文字幕一区二区三区| 午夜精品久久久久久久蜜桃app| 久久精品欧美日韩| 欧美日韩国产色站一区二区三区| 国产伦精品一区二区三区视频青涩| 亚洲天堂中文字幕| 久久中文娱乐网| 欧美精选在线播放| 91蜜桃网址入口| 国产一区在线不卡| 视频一区二区欧美| 久久久久久综合| 欧美一区二区观看视频| 日本久久电影网| 国产成人av在线影院| 日本不卡一区二区三区高清视频| 免费成人你懂的| 91福利区一区二区三区| 亚洲女性喷水在线观看一区| 亚洲18女电影在线观看| 国产欧美精品一区| 亚洲一区在线观看免费观看电影高清| 在线免费观看成人短视频| 国产麻豆成人精品| 成人av在线观| 91小视频在线免费看| 欧美亚洲免费在线一区| 欧美片网站yy| 精品成人私密视频| 中日韩免费视频中文字幕| ㊣最新国产の精品bt伙计久久| 亚洲男人电影天堂| 午夜精品福利在线| 精品系列免费在线观看| 懂色av一区二区三区蜜臀| 色婷婷久久综合| 欧美人xxxx| 久久久一区二区三区| 国产高清不卡一区二区| 精品理论电影在线观看| 色激情天天射综合网| 欧美日韩一区二区欧美激情| 欧美一区二区三区四区视频| 欧美精品一区二区三区在线播放| 亚洲色图一区二区三区| 日韩综合在线视频| 国内欧美视频一区二区| 成人午夜精品在线| 欧美性猛片aaaaaaa做受| 欧美成人性福生活免费看| 中文在线资源观看网站视频免费不卡| 亚洲女同ⅹxx女同tv| 久久成人麻豆午夜电影| 成人久久18免费网站麻豆| 欧洲精品视频在线观看| 久久天堂av综合合色蜜桃网| 亚洲男人都懂的| 精品一区二区三区免费观看| 91视视频在线直接观看在线看网页在线看 | 成人av电影在线播放| 91精品国产福利在线观看| 国产精品亲子乱子伦xxxx裸| 视频一区二区国产| 99r精品视频| 久久蜜桃一区二区| 亚洲成人在线网站| 成人性视频免费网站| 欧美成人video| 亚洲一区二区三区爽爽爽爽爽 | 日韩中文字幕亚洲一区二区va在线| 久久99精品国产.久久久久 | 成人av在线网站| 日韩欧美在线综合网| 一区二区欧美在线观看| 国产一区不卡在线| 欧美一区二区国产| 亚洲成人高清在线| 91欧美一区二区| 国产色产综合色产在线视频| 欧美a一区二区| 欧美日本韩国一区二区三区视频| 国产精品国产三级国产有无不卡 | 亚洲人午夜精品天堂一二香蕉| 另类小说欧美激情| 欧美精品三级日韩久久| 亚洲精品国产一区二区精华液| 成人性色生活片| 国产欧美久久久精品影院| 久久超碰97人人做人人爱| 4438成人网| 日韩av一级电影| 日韩一级大片在线观看| 三级一区在线视频先锋 | 亚洲制服丝袜在线| 在线观看亚洲一区|