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

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

?? test.c

?? The ISD51_Demo project for the MSC1200 shows how to use the ISD51 In-System-Debugger with flash bre
?? C
字號:
/*------------------------------------------------------------------------------
TEST.C:  ISD51 Demo for TI MSC 1210

Copyright 2003 Keil Software, Inc.
------------------------------------------------------------------------------*/

#include <REG1200.H>
#include <intrins.h>
#include <stdio.h>
#include "ISD51.h"


#ifndef XTAL                        // if no XTAL defined use:
  #define XTAL  22118400            // XTAL frequency 22.1184 MHz
#endif

unsigned char xdata testarray[0x100];   // can be used to test access breakpoints (see below)
unsigned char j;

// On-board LEDs
sbit RedLed    = P3^4; 
sbit YellowLed = P3^5; 


#if 0   // uncomment this function to verify serial communication
/*
 * Test Function: verify serial communication with HyperTerminal
 */
void TestSerial (void)  { // for UART0
  char c = 'A';

  TI = 1;
  while (1)  {
    if (RI)  {
      c = SBUF;
      RI = 0;
    }
    while (!TI);
    TI = 0;
    SBUF = c;
  }
}

void TestSerial (void)  { // for UART1
  char c = 'A';

  TI_1 = 1;
  while (1)  {
    if (RI_1)  {
      c = SBUF1;
      RI_1 = 0;
    }
    while (!TI_1);
    TI_1 = 0;
    SBUF1 = c;
  }
}
#endif



// Other interrupt sources such as A/D Converter SPI, PFI
// and (milli)second timer which are sharing the interrupt vector at 
// address 33H (interrupt 6) must be relocated to address 6BH (interrupt 13)!

void AuxInterrupt (void) interrupt 6 {
  unsigned char x;

  if (AISTAT & 0x80) {     // Seconds Interrupt
    YellowLed = !YellowLed;// toggle yellow LED
    x = SECINT;            // dummy read to clear SECINT interrupt request flag
  }
  AI = 0;                  // clear auxiliary interrupt request flag
}


void delay(void) {
  long i;

  i = 0x1000;
  while(i--);
}


void main (void)  {
  unsigned int i;

  CKCON = 0x10;                          // 0 MOVX cycle stretch
  TCON  = 0;

// Setup Serial Interface
  PCON  = 0x80;
  SCON  = 0x52;		        
  TMOD  = 0x20;               
  TH1   = 0xEE;                
  TR1   = 1;                  
  TI    = 1;                  

  //RedLed = ON;

  P3DDRL = 0xC0;                     // set port pins of UART to input/strong drive output
  P3DDRH = 0x00;                     // set port pins of UART to input/strong drive output


#ifdef ISD51
// The following settings are important for ISD51 (enable flash programming, disable watchdog)
  USEC   = ((XTAL+500000)/1000000)-1; // USEC timer factor
  MSEC   = (XTAL/1000)-1;             // (MSECH+MSCL) MS Timer counting at 1.0ms

  HMSEC  = 100-1;                     // Hundred MS Timer to 100.0ms
  SECINT = (10-1) | 0x80;             // SECINT= 10 * HMS Timer Rate = 1 sec
                                      // '0x80' will set the MSB for write immediate
  MSINT  = (10-1) | 0x80;             // MSINT = 10ms for Tone period time base

  FTCON  = 0xA5;                      // setup flash programming times
#endif
// Setup Auxiliary Interrupts
  AIE     = 0x81;         // set EDLVB bit to enable hardware breakpoint interrupt
                          // and ESEC bit to enable seconds interrupt

//AIE     = 0x01;         // set EDLVB bit to enable hardware breakpoint interrupt
//AIE    |= 0x80;         // read-modify-write instructions do not work on AIE!!!

  EICON  |= 0x20;         // enable all auxiliary interrupts

  EA = 1;                 // Enable global interrupt flag

//  TestSerial ();        // uncomment this function to verify serial communication
 

#if 0   // init ISD51 and start user program until the uVision2 Debugger connects
  ISDinit ();        // initialize uVision2 Debugger and continue program run
#endif

#if 0   // init ISD51 and wait until the uVision2 Debugger connects
  ISDwait ();        // wait for connection to uVision2 Debugger
#endif

// The lines below demonstrate in-application flash programming with boot-ROM functions. 
// Function entries are defined in module ROM.A51, declarations are inROM.h.  See also: MWS register above.
//  MWS    = 0x01;          // enable flash programming (and disable internal RAM)
//  page_erase (0x3000, 0x00, 0x00);        // erase a 128 byte program flash page at address 0x3000
//  write_flash_byte (0x3003, 0x55, 0x00);  // write 0x55 to address 0x3003 into program flash
//  MWS = 0x00;                             // disable flash programming (and disable internal RAM)

// Following loop can be used to test access breakpoints:  With 'BS read &testarray[10]' and hardware
// breakpoints enabled, the debugger will stop in this for-loop. By default, flash breakpoints are
// enabled
  for (i = 0; i < sizeof (testarray); i++)  {
    j = testarray[i];
  }

  while (1)  {
#if 1   // init ISD51 only when the uVision2 Debugger tries to connect
    ISDcheck();      // initialize uVision2 Debugger and continue program run
#endif
    _nop_();         // these NOP's allocate space for test breakpoints.
    _nop_();
    _nop_();
    _nop_();
    _nop_();
    printf("Hello World\n");
    _nop_();
    _nop_();
    _nop_();
    RedLed = !RedLed;  // toggle red LED
    _nop_();
    _nop_();
    _nop_();
    delay();
#if 0   // you may use ISDbreak when ISD51 is started with ISDcheck or ISDwait
    ISDbreak ();  // hard coded stop (breakpoint)
#endif
    _nop_();
    _nop_();
    _nop_();
  }
}


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
秋霞电影网一区二区| 国产片一区二区| 91香蕉视频mp4| 国产高清亚洲一区| 国产精品1024| a级精品国产片在线观看| 成人av网址在线| 99这里只有精品| 在线亚洲一区二区| 在线观看一区二区视频| 欧美日韩激情一区二区三区| 欧美老肥妇做.爰bbww| 91精品国产综合久久久久久久| 欧美理论片在线| 精品日韩av一区二区| 日本一区二区在线不卡| 中文字幕亚洲综合久久菠萝蜜| 国产精品入口麻豆九色| 一区二区三区中文在线| 亚洲一二三区在线观看| 日本v片在线高清不卡在线观看| 精品亚洲欧美一区| 99视频精品免费视频| 精品视频在线免费看| 欧美一卡在线观看| 国产日韩精品一区| 亚洲一区在线观看视频| 男女激情视频一区| 粉嫩13p一区二区三区| 在线亚洲精品福利网址导航| 欧美一二三四在线| 国产精品成人在线观看| 亚洲高清中文字幕| 国产经典欧美精品| 7777精品伊人久久久大香线蕉| 26uuu亚洲婷婷狠狠天堂| 亚洲欧洲99久久| 久久电影网电视剧免费观看| 97精品国产露脸对白| 欧美一级在线视频| 亚洲免费在线看| 韩国成人精品a∨在线观看| 色狠狠一区二区三区香蕉| 日韩午夜激情av| 亚洲三级免费电影| 精品一区二区免费在线观看| 欧洲国产伦久久久久久久| 久久久精品国产免大香伊| 亚洲国产欧美一区二区三区丁香婷| 国产在线一区观看| 欧美在线free| 国产精品女同一区二区三区| 青青草精品视频| 在线观看日韩av先锋影音电影院| 欧美变态tickling挠脚心| 亚洲国产日韩精品| 99re成人精品视频| 国产亚洲精品超碰| 蜜桃av噜噜一区| 欧美精品色一区二区三区| 综合欧美一区二区三区| 国产一区二三区| 精品国产免费人成在线观看| 亚洲一区视频在线观看视频| 成人国产亚洲欧美成人综合网| 日韩精品中文字幕在线一区| 首页亚洲欧美制服丝腿| 欧美亚洲自拍偷拍| 亚洲最大成人网4388xx| 91丨九色丨蝌蚪丨老版| 中文字幕不卡三区| 国产精品主播直播| 欧美草草影院在线视频| 美女精品一区二区| 精品国免费一区二区三区| 日韩国产精品久久久| 欧美日韩综合在线| 午夜精品一区二区三区免费视频 | 激情综合五月婷婷| 日韩一区二区三区视频在线| 首页国产丝袜综合| 在线成人午夜影院| 美女视频一区在线观看| 欧美不卡一二三| 国产一区二区久久| 欧美激情一区二区三区在线| 国产成人一区在线| 成人免费一区二区三区在线观看| 不卡影院免费观看| 一区二区三区视频在线看| 在线观看免费视频综合| 亚洲国产精品嫩草影院| 欧美一区二区在线看| 国产中文字幕精品| 中文字幕中文字幕一区二区| 色噜噜狠狠一区二区三区果冻| 亚洲影院免费观看| 欧美老人xxxx18| 国精产品一区一区三区mba视频| 久久精品免视看| 91污在线观看| 日韩不卡一二三区| 久久精品一区四区| 日本韩国精品一区二区在线观看| 亚洲福利电影网| 精品国产区一区| 99精品久久久久久| 人禽交欧美网站| 国产精品久久影院| 欧美日韩国产大片| 成人一区二区视频| 亚洲一区自拍偷拍| 久久综合国产精品| 91久久线看在观草草青青| 免费成人深夜小野草| 中文字幕+乱码+中文字幕一区| 欧美午夜精品电影| 欧美中文字幕久久| 国产成人综合精品三级| 五月天激情综合| 亚洲欧洲av另类| 久久一区二区三区国产精品| 欧美亚洲禁片免费| 成人午夜在线免费| 蜜桃av一区二区三区| 亚洲精品久久久蜜桃| 久久久久国产免费免费| 91.麻豆视频| 一本大道久久精品懂色aⅴ| 美女网站色91| 五月天激情小说综合| 亚洲免费av观看| 国产日本欧洲亚洲| 精品国产一区二区三区不卡| 欧美色区777第一页| 99热在这里有精品免费| 国产激情精品久久久第一区二区| 天天影视色香欲综合网老头| 亚洲精品美腿丝袜| 亚洲欧洲av另类| 中文字幕一区二区三区视频| 久久久精品一品道一区| 精品黑人一区二区三区久久| 欧美日本精品一区二区三区| 在线免费观看不卡av| 91丨porny丨户外露出| 懂色av一区二区在线播放| 狠狠色伊人亚洲综合成人| 蜜臀精品久久久久久蜜臀| 亚洲午夜精品网| 亚洲福利一区二区三区| 亚洲韩国精品一区| 午夜在线成人av| 亚洲成a人片综合在线| 亚洲国产综合视频在线观看| 亚洲综合偷拍欧美一区色| 亚洲综合在线观看视频| 亚洲综合在线电影| 亚洲国产aⅴ天堂久久| 视频一区视频二区在线观看| 日韩中文字幕不卡| 日韩高清不卡在线| 开心九九激情九九欧美日韩精美视频电影 | 色综合咪咪久久| 91免费版在线看| 色综合天天综合网天天狠天天 | 亚洲制服丝袜av| 亚洲成人激情自拍| 蜜桃一区二区三区在线| 久久99热这里只有精品| 国产91精品露脸国语对白| 不卡av在线网| 91国在线观看| 91精品午夜视频| 久久久精品免费观看| 亚洲人成影院在线观看| 亚洲激情在线激情| 日韩电影一区二区三区四区| 狠狠色丁香婷综合久久| 国产成人精品三级| 欧美在线免费观看视频| 日韩一区二区影院| 国产午夜精品一区二区三区视频 | 欧美高清www午色夜在线视频| 欧美三片在线视频观看| 欧美成人vps| 亚洲免费在线观看| 久久97超碰色| 99re这里只有精品视频首页| 欧美精品日韩一本| 国产丝袜欧美中文另类| 亚洲成人激情综合网| 国产91丝袜在线18| 欧美va在线播放| 亚洲免费视频成人| 国产精品综合av一区二区国产馆| 91蝌蚪porny| 久久中文字幕电影| 亚洲综合精品久久| 国产大陆a不卡|