Description: 本文件内容为tms320lf2407 dsp的中断向量表
将对应中断的_nothing改成眺转到指定服务子程序的指令
即可以使用此中断-Contents of this document tms320lf2407 dsp interrupt vector table will be changed to correspond to interruption _nothing Vision services to the designated subprogram s instructions that can use this interrupt Platform: |
Size: 60416 |
Author:lvnianzhi |
Hits:
Description: 本文件内容为tms320lf2407 dsp的中断向量表
将对应中断的_nothing改成眺转到指定服务子程序的指令
即可以使用此中断-Contents of this document tms320lf2407 dsp interrupt vector table will be changed to correspond to interruption _nothing Vision services to the designated subprogram s instructions that can use this interrupt Platform: |
Size: 59392 |
Author:lvnianzhi |
Hits:
Description: 本文件内容为tms320lf2407 dsp的中断向量表
将对应中断的_nothing改成眺转到指定服务子程序的指令
即可以使用此中断-Contents of this document tms320lf2407 dsp interrupt vector table will be changed to correspond to interruption _nothing Vision services to the designated subprogram s instructions that can use this interrupt Platform: |
Size: 59392 |
Author:lvnianzhi |
Hits:
Description: 本文件内容为tms320lf2407 dsp的中断向量表
将对应中断的_nothing改成眺转到指定服务子程序的指令
即可以使用此中断-Contents of this document tms320lf2407 dsp interrupt vector table will be changed to correspond to interruption _nothing Vision services to the designated subprogram s instructions that can use this interrupt Platform: |
Size: 57344 |
Author:lvnianzhi |
Hits:
Description: 汇编课的作业,右上角显示系统时间,倒计时。若倒计时结束发声并显示提示信息。
使用说明:cmd中运行,按S键倒计时开始,按P倒计时暂停。
主要技术:设置新的中断向量(1CH,9H),中断驻留,发声,显示系统时间-Compilation of class operations, the upper right corner of display system time and the countdown. If the countdown to the end of sound and display message. Use: cmd in the run, according to S keys to start the countdown, countdown to the suspension according to P. The main technology: a new interrupt vector (1CH, 9H), disruption of presence, voice, display system time Platform: |
Size: 3072 |
Author:twofox |
Hits:
Description: 该文件为ARM7硬件平台的C语言启动代码,用于分配中断向量表,初始化ISR地址,初始化堆栈空间, 初始化应用程序执行环境,配置存储器系统,设定时钟周期,呼叫主应用程序。基于S3C44B0的ARM7硬件平台的启动代码-The hardware platform documentation for the ARM7 startup code of C language for the distribution of interrupt vector table, initialize ISR address space to initialize the stack, the application execution environment initialization, configuration, memory system, set the clock cycle, call the main application. S3C44B0' s ARM7-based hardware platform start-up code Platform: |
Size: 4096 |
Author:李晓群 |
Hits:
Description: 课程
1005 GS5 : Microchip的16位产品入门
课程简介
这个动手实验课涵盖了16位产品的架构和指令集的基础内容,并通过实际编写简单的汇编程序进一步深入和强化。学员
将在Explorer 16开发板上进行编程,点亮和闪烁一个LED灯。16位产品的其他特性也将会一一得到讲解并通过程序得
到验 证,比如多重中断向量、中断优先级及程序存储空间可视性(PSV)等等。采用的硬件是带有dsPIC30F6014的
Explorer 16开发板。完成本课程后,学员将基本了解和熟悉PIC24和dsPIC30。
-Course 1005 GS5: Microchip' s 16-bit product brief introductory courses covering the hands-class products of the 16-bit instruction set architecture and the basis of content, and through the actual preparation of a compilation of simple procedures and to strengthen further. Participants will board the Explorer 16 development program, a LED lighting and flashing lights. 16 products in 11 other properties will also be explained and verified through the procedures, such as multiple interrupt vector, Interrupt Priority and procedures for storage space visibility (PSV) and so on. Hardware is used with dsPIC30F6014 the Explorer 16 development board. After completion of this training course, participants will be familiar with the basic understanding and PIC24 and dsPIC30. Platform: |
Size: 635904 |
Author:lajie |
Hits:
Description: Here is some more demo code. It s not the hottest stuff ever made, quite simple most of it - but you will find a fast vector-box, wildly rotating full-screen pictures and a nifty starwars scroller. Also a very simple (but fast and easy to expand) wolfenstein thing. Use ESCAPE key to exit most of the stuff! I m sorry about the quality of the code, but I have not had much time for coding (bought my PC half a year ago) so perhaps I ll put up some better code later... But look out for my vector animation program for doing stuff like "Another World" animations. If the stuff doesn t work on your computer it s probably my fault. I really don t know why. Perhaps its some interrupt failure or illegal opcode, but anyway, my code seems to break on some computers. If you find the mistake please contact me!!! It s all in Pascal - with embedded assembly stuff in it of course.-Here is some more demo code. It s not the hottest stuff ever made, quite simple most of it- but you will find a fast vector-box, wildly rotating full-screen pictures and a nifty starwars scroller. Also a very simple (but fast and easy to expand) wolfenstein thing. Use ESCAPE key to exit most of the stuff! I m sorry about the quality of the code, but I have not had much time for coding (bought my PC half a year ago) so perhaps I ll put up some better code later... But look out for my vector animation program for doing stuff like "Another World" animations. If the stuff doesn t work on your computer it s probably my fault. I really don t know why. Perhaps its some interrupt failure or illegal opcode, but anyway, my code seems to break on some computers. If you find the mistake please contact me!!! It s all in Pascal- with embedded assembly stuff in it of course. Platform: |
Size: 80896 |
Author:Parity error |
Hits:
Description: 基于富士通单片及的LED灯的中断向量控制c语言程序-Based on Fujitsu' s chip and the LED lights interrupt vector control c language program Platform: |
Size: 2048 |
Author:liuxy204 |
Hits:
Description: 1. 熟悉C5400的连接时的配置
2. 熟悉中断矢量表的意义及其作用
3. 学习编写中断服务程序
-1. Familiar with the C5400' s connection configuration 2. Familiar with the interrupt vector table of the significance and role of 3. To learn the preparation of the interrupt service routine Platform: |
Size: 11264 |
Author:小样 |
Hits:
Description: 详尽的介绍了cputimer中,系统初始化,中断向量表初始化,并介绍了cpu的定时,对初学者有一定的帮助。-Detailed introduction to the cputimer, the system initialization, interrupt vector initialization, and introduced the cpu' s time, there is some help for beginners. Platform: |
Size: 9216 |
Author:liuzeng007 |
Hits:
Description: IO口的寄存器有:方向选择寄存器PxDIR,输出寄存器PxOUT,输入寄存器PxIN,IO口内部上拉或下拉电阻使能寄存器PxREN, IO口功能选择寄存器PxSEL和PxSEL2,IO口中断使能寄存器PxIE,中断沿选择寄存器PxIES,IO口中断标志寄存器PxIFG。
3,所有的IO都带有中断,其中所有的P1口公用一个中断向量,所有的P2口公用一个中断向量。所以在使用中断时,当进入中断后,还要判断到底是哪一个IO口产生的中断,判断方法可以是判断各个IO口的电平。
4,中断标志PxIFG需要软件清除,也可以用软件置位,从而用软件触发一个中断。
注意:在设置PxIESx时根据PxINx有可能会引起相应的PxIFGx置位(具体的情况见用户指南),所以在初始化完IO口中断以后,正式使用IO中断前要先将对应的PxIFGx清零。-IO port registers: the direction to select register PxDIR, output register PxOUT of input register PxIN the IO port internal pull-up or pull-down resistor enable register PxREN, the IO port function select register PxSEL and PxSEL2 IO port interrupt enable register PXIeThe interrupt edge select register PXIES, IO port interrupt flag register PxIFG.
3, all IO with interrupt all the P1 port public an interrupt vector, the P2 port public an interrupt vector. To use an interrupt when the interrupt entry, but also to determine which IO port interrupt in the end, the judgment method can determine the level of each IO port.
4 Clear interrupt Logo PxIFG require software can also be set in software, the software triggers an interrupt.
Note: setting up the PxIESx according to PxINx may cause the corresponding PxIFGx set (specifically, see the User s Guide), so after you initialize the IO port interrupt, official use the IO interrupt before the first corresponding Platform: |
Size: 31744 |
Author: |
Hits:
Description: STM32启动过程解析
1、 通过boot引脚设置可以将中断向量表定位于SRAM区,即起始地址为0x2000000,同时复位后PC指针位于0x2000000处;
2、 通过boot引脚设置可以将中断向量表定位于FLASH区,即起始地址为0x8000000,同时复位后PC指针位于0x8000000处;
3、 通过boot引脚设置可以将中断向量表定位于内置Bootloader区,本文不对这种情况做论述;
而Cortex-M3内核规定,起始地址必须存放堆顶指针,而第二个地址则必须存放复位中断入口向量地址,这样在Cortex-M3内核复位后,会自动从 起始地址的下一个32位空间取出复位中断入口向量,跳转执行复位中断服务程序。对比ARM7/ARM9内核,Cortex-M3内核则是固定了中断向量表 的位置而起始地址是可变化的。
有了上述准备后,下面以STM32的2.02固件库提供的启动文件“stm32f10x_vector.s”为模板,对STM32的启动过程做一个简要而全面的解析。-STM32 resolve a boot process, the boot pin set interrupt vector table can be located in the SRAM area, namely the start address is 0x2000000, while the post-PC pointer is reset at 0x2000000 2, through the boot pin settings can be FLASH interrupt vector table located in the area, namely the start address is 0x8000000, while the pointer is reset PC 0x8000000 place 3, through the boot pin set interrupt vector table can be located in the built-in Bootloader district, this paper does not do this discourse while Cortex-M3 core provides the starting address must be kept top of the heap pointer, while the second addresses must be stored reset interrupt vector address entry, so that the Cortex-M3 core is reset, it will automatically starting address of the next 32 Remove the reset interrupt entry vector space, Jump perform a reset interrupt service routine. Contrast ARM7/ARM9 core, Cortex-M3 core is fixed interrupt vector table start address of the position can be varied. With these preparat Platform: |
Size: 90112 |
Author:song |
Hits:
Description: STM32启动过程解析
1、 通过boot引脚设置可以将中断向量表定位于SRAM区,即起始地址为0x2000000,同
时复位后PC指针位于0x2000000处;
2、 通过boot引脚设置可以将中断向量表定位于FLASH区,即起始地址为0x8000000,同
时复位后PC指针位于0x8000000处;
3、 通过boot引脚设置可以将中断向量表定位于内置Bootloader区,本文不对这种情况做
论述;
而Cortex-M3内核规定,起始地址必须存放堆顶指针,而第二个地址则必须存放复位中
断入口向量地址,这样在Cortex-M3内核复位后,会自动从 起始地址的下一个32位空间取
出复位中断入口向量,跳转执行复位中断服务程序。对比ARM7/ARM9内核,Cortex-M3
内核则是固定了中断向量表 的位置而起始地址是可变化的。
有了上述准备后,下面以STM32的2.02固件库提供的启动文件“stm32f10x_vector.s”为
模板,对STM32的启动过程做一个简要而全面的解析。
-STM32 resolve a boot process, the boot pin set interrupt vector table can be located in the SRAM area, namely the start address is 0x2000000, while the post-PC pointer is reset at 0x2000000 2, through the boot pin set interrupt vector table can be positioned in the FLASH area, namely the start address is 0x8000000, while the pointer is reset PC 0x8000000 place 3, through the boot pin set interrupt vector table can be located in the built-in Bootloader area, this article discusses the right to do this while the Cortex-M3 kernel provides the starting address must be kept top of the heap pointer, while the second addresses must be stored reset interrupt vector address entry, so that the Cortex-M3 core is reset, it will automatically start the next 32-bit address space out reset interrupt entry vector, Jump perform a reset interrupt service routine. Contrast ARM7/ARM9 core, Cortex-M3 core is fixed interrupt vector table start address of the position can be varied. With these preparation Platform: |
Size: 4096 |
Author:song |
Hits:
Description: DSP的gpio测试程序,焊接硬件电路调试的时候使用-// TITLE: DSP280x Device Default Interrupt Service Routines.
//
// This file contains shell ISR routines for the 280x PIE vector table.
// Typically these shell ISR routines can be used to populate the entire PIE
// vector table during device debug. In this manner if an interrupt is taken
// during firmware development, there will always be an ISR to catch it.
//
// As develpment progresses, these ISR rotuines can be eliminated and replaced
// with the user s own ISR routines for each interrupt. Since these shell ISRs
// include infinite loops they will typically not be included as-is in the final
// production firmware.
Platform: |
Size: 339968 |
Author:houqing |
Hits:
Description: void InitEPwm1Example(void);
void main(void)
{
// Step 1. Initialize System Control:
// PLL, WatchDog, enable Peripheral Clocks
// This example function is found in the DSP2833x_SysCtrl.c file.
InitSysCtrl();
// Step 2. Initalize GPIO:
// This example function is found in the DSP2833x_Gpio.c file and
// illustrates how to set the GPIO to it's default state.
// InitGpio(); // Skipped for this example
InitXintf16Gpio(); //zq
// Step 3. Clear all interrupts and initialize PIE vector table:
// Disable CPU interrupts
DINT;
// Initialize the PIE control registers to their default state.
// The default state is all PIE interrupts disabled and flags
// are cleared.
// This function is found in the DSP2833x_PieCtrl.c file.
InitPieCtrl();
// Disable CPU interrupts and clear all CPU interrupt flags:
IER = 0x0000;
IFR = 0x0000; Platform: |
Size: 406528 |
Author:丶初学者 |
Hits: