SW006012 Microchip Technology, SW006012 Datasheet - Page 100

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
7.4
DS51284F-page 94
WRITING THE INTERRUPT VECTOR
®
C30 User’s Guide
dsPIC30F/33F DSC and PIC24F/H MCU devices have two interrupt vector tables – a
primary and an alternate table – each containing several exception vectors.
The exception sources have associated with them a primary and alternate exception
vector, each occupying a program word, as shown in the tables below. The alternate
vector name is used when the ALTIVT bit is set in the INTCON2 register.
• Table 7-1 Interrupt Vectors – dsPIC30F DSCs (non-SMPS)
• Table 7-2 Interrupt Vectors - dsPIC30F DSCs (SMPS)
• Table 7-3 Interrupt Vectors - PIC24F MCUs
• Table 7-4 Interrupt Vectors - dsPIC33F DSCs/PIC24H MCUs
TABLE 7-1:
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
IRQ#
Note:
_ReservedTrap0
_OscillatorFail
_AddressError
_StackError
_MathError
_ReservedTrap5
_ReservedTrap6
_ReservedTrap7
_INT0Interrupt
_IC1Interrupt
_OC1Interrupt
_T1Interrupt
_IC2Interrupt
_OC2Interrupt
_T2Interrupt
_T3Interrupt
_SPI1Interrupt
_U1RXInterrupt
_U1TXInterrupt
_ADCInterrupt
_NVMInterrupt
_SI2CInterrupt
_MI2CInterrupt
_CNInterrupt
_INT1Interrupt
_IC7Interrupt
_IC8Interrupt
_OC3Interrupt
A device reset is not handled through the interrupt vector table. Instead,
upon device reset, the program counter is cleared. This causes the
processor to begin execution at address zero. By convention, the linker
script constructs a GOTO instruction at that location which transfers control
to the C runtime startup module.
Primary Name
INTERRUPT VECTORS – dsPIC30F DSCs (NON-SMPS)
_AltReservedTrap0
_AltOscillatorFail
_AltAddressError
_AltStackError
_AltMathError
_AltReservedTrap5
_AltReservedTrap6
_AltReservedTrap7
_AltINT0Interrupt
_AltIC1Interrupt
_AltOC1Interrupt
_AltT1Interrupt
_AltIC2Interrupt
_AltOC2Interrupt
_AltT2Interrupt
_AltT3Interrupt
_AltSPI1Interrupt
_AltU1RXInterrupt
_AltU1TXInterrupt
_AltADCInterrupt
_AltNVMInterrupt
_AltSI2CInterrupt
_AltMI2CInterrupt
_AltCNInterrupt
_AltINT1Interrupt
_AltIC7Interrupt
_AltIC8Interrupt
_AltOC3Interrupt
Alternate Name
Reserved
Oscillator fail trap
Address error trap
Stack error trap
Math error trap
Reserved
Reserved
Reserved
INT0 External interrupt 0
IC1 Input capture 1
OC1 Output compare 1
TMR1 Timer 1 expired
IC2 Input capture 2
OC2 Output compare 2
TMR2 Timer 2 expired
TMR3 Timer 3 expired
SPI1 Serial peripheral interface 1
UART1RX Uart 1 Receiver
UART1TX Uart 1 Transmitter
ADC convert completed
NMM NVM write completed
Slave I
Master I
CN Input change interrupt
INT1 External interrupt 0
IC7 Input capture 7
IC8 Input capture 8
OC3 Output compare 3
© 2007 Microchip Technology Inc.
2
C™ interrupt
2
Vector Function
C™ interrupt

Related parts for SW006012