1968 views|0 replies

2015

Posts

0

Resources
The OP
 

TI C2000 interrupt service function [Copy link]

Interrupt service function:

GPIOBankIntDisable(SOC_GPIO_0_REGS, 0); // Disable GPIO BANK 0 interrupt

IntEventClear(SYS_INT_GPIO_B0INT); // Clear GPIO BANK 0 interrupt status

………………; //Execute a short interrupt function.

GPIOBankIntEnable(SOC_GPIO_0_REGS, 0); // Enable GPIO BANK 0 interrupt

Interrupt Type:

1) Reset interrupt (RESET) has the highest priority

2) Non-maskable interrupts/exceptions: all software interrupts and two external interrupts RS and NMI.

3) 12 maskable hardware interrupts (INT4-INT15) 12 event interrupt sources.

4) Can shield hardware exceptions (EXCAP).

Events: 0-127 independent events and combined events (Event Combiner)

0~127个独立中断事件定义在interrupt.h头文件中: TimerInterrupts、Syscfg Interrupts、PRU Interrupts、EHRPWM Interrupts、EDMA Interrupts、EMU Interrupts、IDMA Interrupts、MMCSD Interrupts、USB Interrupts、SATA Interrupts、EMAC Interrupts、HPI Interrupts、I2C Interrupts、SPI Interrupts、UART Interrupts、GPIO Interrupts、ECAP Interrupts、EMIF Interrupts、DDR Interrupts、MCASP Interrupts、RTC Interrupts、PSC Interrupts、LCD Interrupts、MCBSP Interrupts、UPP Interrupts、VPIF Interrupts、INTC Interrupts、EMC Interrupts、PMC Interrupts、UMC Interrupts、PDC Interrupts、SYS Interrupts、DMC Interrupts、

Event Combiners:

Interrupt vector table (Function: After the corresponding interrupt occurs, jump to the corresponding address and execute the corresponding instruction.)

1. ISFP (interrupt service fetch packet) interrupt service fetch packet

2. Up to 8 32-bit instructions/14 compact instructions (Compact Instance)

3. The interrupt vector table can be stored in any storage space of the DSP memory as long as the entry address is aligned to 1K bytes.

This post is from DSP and ARM Processors
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list