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

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

?? defaultisr_nonbios.c

?? 瑞泰實驗箱例程-2812,
?? C
?? 第 1 頁 / 共 2 頁
字號:
/**********************************************************************
* File: DefaultIsr_nonBIOS.c
* Devices: TMS320F2812, TMS320F2811, TMS320F2810
* Author: David M. Alter, Texas Instruments Inc.
* History:
*   09/08/03 - original (based on DSP281x header files v1.00, D. Alter)
*   03/23/04 - removed redundant PIE acknowlege from CAP1INT_ISR (D. Alter)
**********************************************************************/

#include "DSP281x_Device.h"

#ifdef EXAMPLE_BIOS
    #include "example_BIOS.h"
#endif

#ifdef EXAMPLE_NONBIOS
    #include "example_nonBIOS.h"
#endif

#define led *(int *)0xc0000
#define key *(int *)0xc0001
/*** Global variables used by ADCINT_ISR() ***/
#define ADC_buf_len	50					// ADC buffer length
Uint16 ADC_buf[ADC_buf_len];			// ADC buffer allocation

/*** Global variables used by CAPINT1_ISR() ***/
Uint16 CAP_rising = 0;					// Captured rising edge timestamp
Uint16 CAP_falling = 0;					// Captured falling edge timestamp
Uint16 CAP_width = 0;					// PWM pulse width computed using captures
int i;

/*********************************************************************/
interrupt void INT13_ISR(void)			// 0x000D1A  INT13 - XINT13 (or CPU Timer1, reserved for TI)
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
} // INT13_ISR

/*********************************************************************/
interrupt void INT14_ISR(void)			// 0x000D1C  INT14 - CPU Timer2, reserved for TI
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void DATALOG_ISR(void)		// 0x000D1E  DATALOG - CPU data logging interrupt
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void RTOSINT_ISR(void)		// 0x000D20  RTOSINT - CPU RTOS interrupt
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void EMUINT_ISR(void) 		// 0x000D22  EMUINT - CPU emulation interrupt
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void NMI_ISR(void)			// 0x000D24  NMI - XNMI interrupt
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void ILLEGAL_ISR(void)		// 0x000D26  ILLEGAL - illegal operation trap
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER1_ISR(void)			// 0x000D28  USER1 - software interrupt #1
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER2_ISR(void)			// 0x000D2A  USER2 - software interrupt #2
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER3_ISR(void)			// 0x000D2C  USER3 - software interrupt #3
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER4_ISR(void)			// 0x000D2E  USER4 - software interrupt #4
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER5_ISR(void)			// 0x000D30  USER5 - software interrupt #5
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER6_ISR(void)			// 0x000D32  USER6 - software interrupt #6
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER7_ISR(void)			// 0x000D34  USER7 - software interrupt #7
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER8_ISR(void)			// 0x000D36  USER8 - software interrupt #8
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER9_ISR(void)			// 0x000D38  USER9 - software interrupt #9
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER10_ISR(void)			// 0x000D3A  USER10 - software interrupt #10
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER11_ISR(void)			// 0x000D3C  USER11 - software interrupt #11
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void USER12_ISR(void)			// 0x000D3E  USER12 - software interrupt #12
{
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void PDPINTA_ISR(void)		// 0x000D40  PDPINTA (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void PDPINTB_ISR(void)		// 0x000D42  PDPINTB (EV-B)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void XINT1_ISR(void)			// 0x000D46  XINT1
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}     

/*********************************************************************/
interrupt void XINT2_ISR(void)			// 0x000D48  XINT2
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void ADCINT_ISR(void)		// 0x000D4A  ADCINT (ADC)
{
static volatile Uint16 GPIOF14_count = 0;		// Counter for pin toggle
static Uint16 *ADC_buf_ptr = ADC_buf;			// Pointer to buffer

	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;		// Must acknowledge the PIE group

/*** Manage the ADC registers ***/
	AdcRegs.ADCTRL2.bit.RST_SEQ1 = 1;			// Reset SEQ1 to CONV00 state
	AdcRegs.ADCST.bit.INT_SEQ1_CLR = 1;			// Clear ADC SEQ1 interrupt flag

/*** Read the ADC result ***/
	*ADC_buf_ptr++ = AdcRegs.ADCRESULT0 >> 4;	// Read the result

/*** Brute-force the circular buffer ***/
	if( ADC_buf_ptr == (ADC_buf + ADC_buf_len) )
		ADC_buf_ptr = ADC_buf;					// Rewind the pointer to beginning

/*** Example: Toggle GPIOF14, which is connected to the LED on the eZdsp board ***/
	if(GPIOF14_count++ > 12500)					// Toggle slowly to see the LED blink
	{
		GpioDataRegs.GPFTOGGLE.bit.GPIOF14 = 1;	// Toggle the pin
		GPIOF14_count = 0;						// Reset the counter
	}

} // end ADCINT_ISR()

/*********************************************************************/
interrupt void TINT0_ISR(void)			// 0x000D4C  TINT0 (CPU TIMER 0)
{ 
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	//while(1);
	i=key;
	i=i&0xff;
	led=i;
}

/*********************************************************************/
interrupt void WAKEINT_ISR(void)		// 0x000D4E  WAKEINT (LPM/WD)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;	// Must acknowledge the PIE group
  
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void CMP1INT_ISR(void)		// 0x000D50  CMP1INT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void CMP2INT_ISR(void)		// 0x000D52  CMP2INT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void CMP3INT_ISR(void)		// 0x000D54  CMP3INT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group
  
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void T1PINT_ISR(void)			// 0x000D56  T1PINT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group
  
// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void T1CINT_ISR(void)			// 0x000D58  T1CINT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void T1UFINT_ISR(void)		// 0x000D5A  T1UFINT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}

/*********************************************************************/
interrupt void T1OFINT_ISR(void)		// 0x000D5C  T1OFINT (EV-A)
{
	PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;	// Must acknowledge the PIE group

// Next two lines for debug only - remove after inserting your ISR
	asm (" ESTOP0");					// Emulator Halt instruction
	while(1);
}
      
/*********************************************************************/
interrupt void T2PINT_ISR(void)			// 0x000D60  T2PINT (EV-A)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看一区二区精品视频| 欧美精品在线观看播放| 日韩一级黄色片| 亚洲国产毛片aaaaa无费看| 成人99免费视频| 国产欧美综合色| 国产精品一卡二卡在线观看| www国产成人免费观看视频 深夜成人网| 玉米视频成人免费看| 在线看国产一区二区| 亚洲精品水蜜桃| 欧美午夜在线一二页| 一区二区三区国产精品| 91成人免费在线| 午夜激情一区二区三区| 欧美一区二区三区四区在线观看 | 五月天亚洲精品| 欧美日韩精品电影| 青青草原综合久久大伊人精品| 欧美伦理电影网| 乱一区二区av| 国产丝袜欧美中文另类| 99这里只有久久精品视频| 精品美女在线播放| 日韩精品色哟哟| 欧美不卡一区二区三区| 国产精品亚洲午夜一区二区三区| 国产午夜精品久久| 色999日韩国产欧美一区二区| 亚洲资源中文字幕| 91福利视频网站| 日韩国产欧美三级| 久久综合久久综合久久综合| 另类专区欧美蜜桃臀第一页| 久久久精品tv| 在线观看中文字幕不卡| 美女视频免费一区| 中文字幕在线观看不卡| 欧美性极品少妇| 蜜桃在线一区二区三区| 中文字幕在线免费不卡| 欧美三区在线观看| 日韩专区欧美专区| 日韩一级免费观看| 91免费精品国自产拍在线不卡| 午夜精品久久久久久久久久| 久久精品亚洲麻豆av一区二区 | 日韩国产高清影视| 久久久久久久久久久黄色| 国内精品伊人久久久久av一坑 | 精品区一区二区| eeuss鲁片一区二区三区| 亚洲不卡在线观看| 国产精品免费av| 欧美色视频在线| 国产麻豆精品视频| 亚洲免费伊人电影| 91精品国产福利| 国产成人av电影免费在线观看| 亚洲精品日日夜夜| 久久久精品国产99久久精品芒果| 欧美怡红院视频| 国产suv精品一区二区6| 亚洲欧美日韩在线| 久久综合色鬼综合色| 欧美在线观看视频一区二区三区| 一级女性全黄久久生活片免费| 欧美另类久久久品| 日韩av一区二区在线影视| 国产精品久久久久久妇女6080 | 国产精品久久久久久福利一牛影视| 91精品午夜视频| 91激情五月电影| 久久国产婷婷国产香蕉| 亚洲国产中文字幕| 亚洲影院在线观看| 欧美激情综合五月色丁香| 欧美日韩午夜在线| 91丨porny丨首页| 成人av在线影院| 国产一区二区三区视频在线播放| 日韩av在线发布| 日韩在线一区二区三区| 亚洲男人的天堂在线aⅴ视频| 精品噜噜噜噜久久久久久久久试看| 91在线观看下载| 国产精品中文字幕日韩精品| 美女精品自拍一二三四| 伊人开心综合网| 国产精品你懂的| 国产精品视频在线看| 久久久亚洲午夜电影| 日韩欧美国产成人一区二区| 欧美一区二区三区不卡| 91精品在线观看入口| 91精品国产综合久久精品图片| 国产一区二区日韩精品| 美女网站色91| 久久国产麻豆精品| 久久爱www久久做| 亚洲成人中文在线| 亚洲成人在线网站| 日韩一区精品字幕| 免费观看成人鲁鲁鲁鲁鲁视频| 免费成人av在线| 日本不卡的三区四区五区| 蜜桃免费网站一区二区三区| 五月激情丁香一区二区三区| 午夜伦欧美伦电影理论片| 蜜臀av亚洲一区中文字幕| 久久精品国产网站| 从欧美一区二区三区| 99久久精品国产观看| 91免费视频观看| 欧美一区二区三区在线观看| 久久综合视频网| 国产精品毛片高清在线完整版| 日韩理论片一区二区| 亚洲国产成人va在线观看天堂| 日本不卡不码高清免费观看| 国产一区二区三区免费| 国产精品中文字幕日韩精品| 国产精品99精品久久免费| 成人网页在线观看| 欧美日韩一区视频| 久久久久久久综合色一本| 亚洲视频在线观看三级| 午夜久久电影网| 国产91露脸合集magnet| 欧美日韩午夜影院| 国产亚洲欧洲997久久综合| 中文字幕一区二区三区不卡| 亚洲最大的成人av| 丰满亚洲少妇av| 欧美精品亚洲一区二区在线播放| 久久综合av免费| 国产精品卡一卡二卡三| 日本视频一区二区| av动漫一区二区| 日韩欧美一级二级| 一区在线中文字幕| 久久99国产精品免费网站| 91麻豆国产精品久久| www亚洲一区| 午夜影视日本亚洲欧洲精品| 国产成人精品综合在线观看| 欧美三级日本三级少妇99| 久久久久久夜精品精品免费| 亚洲高清免费在线| 成人午夜电影网站| 日韩女优电影在线观看| 一区二区三区四区蜜桃| 精品一区二区三区免费视频| 欧美日韩视频在线第一区 | 欧美中文字幕一区| 欧美经典三级视频一区二区三区| 亚洲电影一级片| 不卡av在线网| 国产精品欧美综合在线| 久久国产精品99久久人人澡| 欧美日本视频在线| 一区二区三区久久| 在线观看www91| 日韩一区中文字幕| 盗摄精品av一区二区三区| 欧美va亚洲va| 美女精品一区二区| 4438x成人网最大色成网站| 久久久精品天堂| 久久国产尿小便嘘嘘尿| 在线91免费看| 亚洲第一狼人社区| 日本精品一级二级| 亚洲人妖av一区二区| 丁香另类激情小说| 国产日韩欧美制服另类| 国模套图日韩精品一区二区 | 国产一区二区导航在线播放| 欧美日韩极品在线观看一区| 一区二区三区精品在线| 777奇米四色成人影色区| 天天操天天色综合| 欧美日韩成人激情| 亚洲va国产天堂va久久en| 欧洲视频一区二区| 亚洲国产裸拍裸体视频在线观看乱了| 91搞黄在线观看| 日韩中文字幕不卡| 欧美va亚洲va国产综合| 国产专区综合网| 久久精品视频免费观看| 国产精品一区二区久激情瑜伽 | 久久成人精品无人区| 日韩亚洲欧美一区| 三级久久三级久久| 国产色综合久久| 97超碰欧美中文字幕| 亚洲最新在线观看| 欧美一级片免费看| 国产又黄又大久久|