// Redirected constant section to usr_tab: 0x8100-0x8180
#pragma section const {usr_tab}
struct interrupt_vector const UserISR_IRQ[32] = {
{0x8200, (interrupt_handler_t)_stext}, // reset
{0x8200, (interrupt_handler_t)TRAP_IRQHandler}, // trap - Software interrupt
{0x8200, (interrupt_handler_t)TLI_IRQHandler}, // irq0 - External Top Level interrupt (TLI)
{0x8200, (interrupt_handler_t)AWU_IRQHandler}, // irq1 - Auto Wake Up from Halt interrupt
{0x8200, (interrupt_handler_t)CLK_IRQHandler}, // irq2 - Clock Controller interrupt
{0x8200, (interrupt_handler_t)EXTI_PORTA_IRQHandler}, // irq3 - External interrupt 0 (GPIOA)
{0x8200, (interrupt_handler_t)EXTI_PORTB_IRQHandler}, // irq4 - External interrupt 1 (GPIOB)
{0x8200, (interrupt_handler_t)EXTI_PORTC_IRQHandler}, // irq5 - External interrupt 2 (GPIOC)
{0x8200, (interrupt_handler_t)EXTI_PORTD_IRQHandler}, // irq6 - External interrupt 3 (GPIOD)
{0x8200, (interrupt_handler_t)EXTI_PORTE_IRQHandler}, // irq7 - External interrupt 4 (GPIOE)
{0x8200, (interrupt_handler_t)CAN_RX_IRQHandler}, // irq8 - CAN Rx interrupt
{0x8200, (interrupt_handler_t)CAN_TX_IRQHandler}, // irq9 - CAN Tx/ER/SC interrupt
{0x8200, (interrupt_handler_t)SPI_IRQHandler}, // irq10 - SPI End of transfer interrupt
{0x8200, (interrupt_handler_t)TIM1_UPD_OVF_TRG_BRK_IRQHandler}, // irq11 - TIM1 Update/Overflow/Trigger/Break interrupt
{0x8200, (interrupt_handler_t)TIM1_CAP_COM_IRQHandler}, // irq12 - TIM1 Capture/Compare interrupt
{0x8200, (interrupt_handler_t)TIM2_UPD_OVF_BRK_IRQHandler}, // irq13 - TIM2 Update/Overflow/Break interrupt
{0x8200, (interrupt_handler_t)TIM2_CAP_COM_IRQHandler}, // irq14 - TIM2 Capture/Compare interrupt
{0x8200, (interrupt_handler_t)TIM3_UPD_OVF_BRK_IRQHandler}, // irq15 - TIM3 Update/Overflow/Break interrupt
{0x8200, (interrupt_handler_t)TIM3_CAP_COM_IRQHandler}, // irq16 - TIM3 Capture/Compare interrupt
{0x8200, (interrupt_handler_t)USART_TX_IRQHandler}, // irq17 - USART Tx complete interrupt
{0x8200, (interrupt_handler_t)USART_RX_IRQHandler}, // irq18 - USART Rx interrupt
{0x8200, (interrupt_handler_t)I2C_IRQHandler}, // irq19 - I2C interrupt
{0x8200, (interrupt_handler_t)LINUART_TX_IRQHandler}, // irq20 - LINUART Tx interrupt
{0x8200, (interrupt_handler_t)LINUART_RX_IRQHandler}, // irq21 - LINUART Rx interrupt
{0x8200, (interrupt_handler_t)ADC_IRQHandler}, // irq22 - ADC end of conversion interrupt
{0x8200, (interrupt_handler_t)TIM4_UPD_OVF_IRQHandler}, // irq23 - TIM4 Update/Overflow interrupt
{0x8200, (interrupt_handler_t)FLASH_IRQHandler}, // irq24 - FLASH interrupt
{0x8200, (interrupt_handler_t)NonHandledInterrupt}, // irq25 - Reserved
{0x8200, (interrupt_handler_t)NonHandledInterrupt}, // irq26 - Reserved
{0x8200, (interrupt_handler_t)NonHandledInterrupt}, // irq27 - Reserved
{0x8200, (interrupt_handler_t)NonHandledInterrupt}, // irq28 - Reserved
{0x8200, (interrupt_handler_t)NonHandledInterrupt}, // irq29 - Reserved
};
楼主说的是这个吧 |