OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [CORTEX_STM32F103_IAR/] [stm32f10x_vector.c] - Blame information for rev 601

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 582 jeremybenn
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
2
* File Name          : stm32f10x_vector.c
3
* Author             : MCD Application Team
4
* Date First Issued  : 02/19/2007
5
* Description        : This file contains the vector table for STM32F10x.
6
*                      After Reset the Cortex-M3 processor is in Thread mode,
7
*                      priority is Privileged, and the Stack is set to Main.
8
********************************************************************************
9
* History:
10
* 04/02/2007: V0.2
11
* 02/19/2007: V0.1
12
********************************************************************************
13
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
14
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
15
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
16
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
17
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
18
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
19
*******************************************************************************/
20
 
21
/* Includes ------------------------------------------------------------------*/
22
#include "stm32f10x_lib.h"
23
#include "stm32f10x_it.h"
24
 
25
extern void xPortPendSVHandler( void );
26
extern void xPortSysTickHandler( void );
27
extern void vTimer2IntHandler( void );
28
extern void vUARTInterruptHandler( void );
29
extern void vPortSVCHandler( void );
30
 
31
/* Private typedef -----------------------------------------------------------*/
32
typedef void( *intfunc )( void );
33
typedef union { intfunc __fun; void * __ptr; } intvec_elem;
34
 
35
/* Private define ------------------------------------------------------------*/
36
/* Private macro -------------------------------------------------------------*/
37
/* Private variables ---------------------------------------------------------*/
38
/* Private function prototypes -----------------------------------------------*/
39
/* Private functions ---------------------------------------------------------*/
40
 
41
 
42
#pragma language=extended
43
#pragma segment="CSTACK"
44
 
45
void __iar_program_start( void );
46
 
47
#pragma location = ".intvec"
48
/* STM32F10x Vector Table entries */
49
const intvec_elem __vector_table[] =
50
{
51
  { .__ptr = __sfe( "CSTACK" ) },
52
  &__iar_program_start,
53
  NMIException,
54
  HardFaultException,
55
  MemManageException,
56
  BusFaultException,
57
  UsageFaultException,
58
  0, 0, 0, 0,            /* Reserved */
59
  vPortSVCHandler,
60
  DebugMonitor,
61
  0,                      /* Reserved */
62
  xPortPendSVHandler,
63
  xPortSysTickHandler,
64
  WWDG_IRQHandler,
65
  PVD_IRQHandler,
66
  TAMPER_IRQHandler,
67
  RTC_IRQHandler,
68
  FLASH_IRQHandler,
69
  RCC_IRQHandler,
70
  EXTI0_IRQHandler,
71
  EXTI1_IRQHandler,
72
  EXTI2_IRQHandler,
73
  EXTI3_IRQHandler,
74
  EXTI4_IRQHandler,
75
  DMAChannel1_IRQHandler,
76
  DMAChannel2_IRQHandler,
77
  DMAChannel3_IRQHandler,
78
  DMAChannel4_IRQHandler,
79
  DMAChannel5_IRQHandler,
80
  DMAChannel6_IRQHandler,
81
  DMAChannel7_IRQHandler,
82
  ADC_IRQHandler,
83
  USB_HP_CAN_TX_IRQHandler,
84
  USB_LP_CAN_RX0_IRQHandler,
85
  CAN_RX1_IRQHandler,
86
  CAN_SCE_IRQHandler,
87
  EXTI9_5_IRQHandler,
88
  TIM1_BRK_IRQHandler,
89
  TIM1_UP_IRQHandler,
90
  TIM1_TRG_COM_IRQHandler,
91
  TIM1_CC_IRQHandler,
92
  vTimer2IntHandler,
93
  TIM3_IRQHandler,
94
  TIM4_IRQHandler,
95
  I2C1_EV_IRQHandler,
96
  I2C1_ER_IRQHandler,
97
  I2C2_EV_IRQHandler,
98
  I2C2_ER_IRQHandler,
99
  SPI1_IRQHandler,
100
  SPI2_IRQHandler,
101
  vUARTInterruptHandler,
102
  USART2_IRQHandler,
103
  USART3_IRQHandler,
104
  EXTI15_10_IRQHandler,
105
  RTCAlarm_IRQHandler,
106
  USBWakeUp_IRQHandler,
107
};
108
 
109
/******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****/
110
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.