⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stm32f10x_it.lst

📁 STM32利用正交编码器实现电机的控制
💻 LST
📖 第 1 页 / 共 3 页
字号:
##############################################################################
#                                                                            #
# IAR ARM ANSI C/C++ Compiler V4.42A/W32               15/May/2008  12:06:31 #
# Copyright 1999-2005 IAR Systems. All rights reserved.                      #
#                                                                            #
#    Cpu mode        =  thumb                                                #
#    Endian          =  little                                               #
#    Stack alignment =  4                                                    #
#    Source file     =  C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM        #
#                       Encoder\example\project\source\stm32f10x_it.c        #
#    Command line    =  "C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM       #
#                       Encoder\example\project\source\stm32f10x_it.c" -D    #
#                       VECT_TAB_FLASH -lcN "C:\David JIANG\ST               #
#                       MCU\Docs\STM32\AN_JIANG\TIM                          #
#                       Encoder\example\project\EWARM\BOOT_FLASH\List\" -lb  #
#                       "C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM       #
#                       Encoder\example\project\EWARM\BOOT_FLASH\List\" -o   #
#                       "C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM       #
#                       Encoder\example\project\EWARM\BOOT_FLASH\Obj\" -z3   #
#                       --no_cse --no_unroll --no_inline --no_code_motion    #
#                       --no_tbaa --no_clustering --no_scheduling --debug    #
#                       --cpu_mode thumb --endian little --cpu cortex-M3     #
#                       --stack_align 4 --require_prototypes --fpu None      #
#                       --dlib_config "C:\Program Files\IAR                  #
#                       Systems\Embedded Workbench                           #
#                       4.0\arm\LIB\dl7mptnnl8f.h" -I "C:\David JIANG\ST     #
#                       MCU\Docs\STM32\AN_JIANG\TIM                          #
#                       Encoder\example\project\EWARM\" -I "C:\David         #
#                       JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM                 #
#                       Encoder\example\project\EWARM\..\include\" -I        #
#                       "C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM       #
#                       Encoder\example\project\EWARM\..\..\FWLib\inc\" -I   #
#                       "C:\Program Files\IAR Systems\Embedded Workbench     #
#                       4.0\arm\INC\"                                        #
#    List file       =  C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM        #
#                       Encoder\example\project\EWARM\BOOT_FLASH\List\stm32f #
#                       10x_it.lst                                           #
#    Object file     =  C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM        #
#                       Encoder\example\project\EWARM\BOOT_FLASH\Obj\stm32f1 #
#                       0x_it.r79                                            #
#                                                                            #
#                                                                            #
##############################################################################

C:\David JIANG\ST MCU\Docs\STM32\AN_JIANG\TIM Encoder\example\project\source\stm32f10x_it.c
      1          /******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
      2          * File Name          : stm32f10x_it.c
      3          * Author             : David JIANG
      4          * Date First Issued  : 2007.9.17
      5          * Description        : Main Interrupt Service Routines.
      6          *                      This file can be used to describe all the exceptions 
      7          *                      subroutines that may occur within user application.
      8          *                      When an interrupt happens, the software will branch 
      9          *                      automatically to the corresponding routine.
     10          *                      The following routines are all empty, user can write code 
     11          *                      for exceptions handlers and peripherals IRQ interrupts.
     12          ********************************************************************************
     13          * History:
     14          * 2007.9.17: V1.0
     15          ********************************************************************************
     16          * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
     17          * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
     18          * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
     19          * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
     20          * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
     21          * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
     22          *******************************************************************************/
     23          
     24          /* Includes ------------------------------------------------------------------*/
     25          #include "stm32f10x_it.h"
     26          #include "lcd.h"
     27          
     28          /* Private typedef -----------------------------------------------------------*/
     29          /* Private define ------------------------------------------------------------*/
     30          const  u16  com[4]={GPIO_Pin_11,GPIO_Pin_10,GPIO_Pin_9,GPIO_Pin_8}; 
     31          
     32          /* Private macro -------------------------------------------------------------*/
     33          #define COMPORT (u16)(GPIO_Pin_11 | GPIO_Pin_10 | GPIO_Pin_9 | GPIO_Pin_8)
     34          
     35          /* Private variables ---------------------------------------------------------*/
     36          u8 var=0,lcdcr=0;
     37          
     38          /* Private function prototypes -----------------------------------------------*/
     39          /* Private functions ---------------------------------------------------------*/
     40          
     41          /*******************************************************************************
     42          * Function Name  : NMIException
     43          * Description    : This function handles NMI exception.
     44          * Input          : None
     45          * Output         : None
     46          * Return         : None
     47          *******************************************************************************/
     48          void NMIException(void)
     49          {
     50          }
     51          
     52          /*******************************************************************************
     53          * Function Name  : HardFaultException
     54          * Description    : This function handles Hard Fault exception.
     55          * Input          : None
     56          * Output         : None
     57          * Return         : None
     58          *******************************************************************************/
     59          void HardFaultException(void)
     60          {
     61          }
     62          
     63          /*******************************************************************************
     64          * Function Name  : MemManageException
     65          * Description    : This function handles Memory Manage exception.
     66          * Input          : None
     67          * Output         : None
     68          * Return         : None
     69          *******************************************************************************/
     70          void MemManageException(void)
     71          {
     72          }
     73          
     74          /*******************************************************************************
     75          * Function Name  : BusFaultException
     76          * Description    : This function handles Bus Fault exception.
     77          * Input          : None
     78          * Output         : None
     79          * Return         : None
     80          *******************************************************************************/
     81          void BusFaultException(void)
     82          {
     83          }
     84          
     85          /*******************************************************************************
     86          * Function Name  : UsageFaultException
     87          * Description    : This function handles Usage Fault exception.
     88          * Input          : None
     89          * Output         : None
     90          * Return         : None
     91          *******************************************************************************/
     92          void UsageFaultException(void)
     93          {
     94          }
     95          
     96          /*******************************************************************************
     97          * Function Name  : DebugMonitor
     98          * Description    : This function handles Debug Monitor exception.
     99          * Input          : None
    100          * Output         : None
    101          * Return         : None
    102          *******************************************************************************/
    103          void DebugMonitor(void)
    104          {
    105          }
    106          
    107          /*******************************************************************************
    108          * Function Name  : SVCHandler
    109          * Description    : This function handles SVCall exception.
    110          * Input          : None
    111          * Output         : None
    112          * Return         : None
    113          *******************************************************************************/
    114          void SVCHandler(void)
    115          {
    116          }
    117          
    118          /*******************************************************************************
    119          * Function Name  : PendSVC
    120          * Description    : This function handles PendSVC exception.
    121          * Input          : None
    122          * Output         : None
    123          * Return         : None
    124          *******************************************************************************/
    125          void PendSVC(void)
    126          {
    127          }
    128          
    129          /*******************************************************************************
    130          * Function Name  : SysTickHandler
    131          * Description    : This function handles SysTick Handler.
    132          * Input          : None
    133          * Output         : None
    134          * Return         : None
    135          *******************************************************************************/
    136          //void SysTickHandler(void)
    137          //{
    138          //}
    139          
    140          /*******************************************************************************
    141          * Function Name  : WWDG_IRQHandler
    142          * Description    : This function handles WWDG interrupt request.
    143          * Input          : None
    144          * Output         : None
    145          * Return         : None
    146          *******************************************************************************/
    147          void WWDG_IRQHandler(void)
    148          {
    149          }
    150          
    151          /*******************************************************************************
    152          * Function Name  : PVD_IRQHandler
    153          * Description    : This function handles PVD interrupt request.
    154          * Input          : None
    155          * Output         : None
    156          * Return         : None
    157          *******************************************************************************/
    158          void PVD_IRQHandler(void)
    159          {
    160          }
    161          
    162          /*******************************************************************************
    163          * Function Name  : TAMPER_IRQHandler
    164          * Description    : This function handles Tamper interrupt request. 
    165          * Input          : None
    166          * Output         : None
    167          * Return         : None
    168          *******************************************************************************/
    169          void TAMPER_IRQHandler(void)
    170          {
    171          }
    172          
    173          /*******************************************************************************
    174          * Function Name  : RTC_IRQHandler
    175          * Description    : This function handles RTC global interrupt request.
    176          * Input          : None
    177          * Output         : None
    178          * Return         : None
    179          *******************************************************************************/
    180          void RTC_IRQHandler(void)
    181          {
    182          }
    183          
    184          /*******************************************************************************
    185          * Function Name  : FLASH_IRQHandler
    186          * Description    : This function handles Flash interrupt request.
    187          * Input          : None
    188          * Output         : None
    189          * Return         : None
    190          *******************************************************************************/
    191          void FLASH_IRQHandler(void)
    192          {
    193          }
    194          
    195          /*******************************************************************************
    196          * Function Name  : RCC_IRQHandler
    197          * Description    : This function handles RCC interrupt request. 
    198          * Input          : None
    199          * Output         : None
    200          * Return         : None
    201          *******************************************************************************/
    202          void RCC_IRQHandler(void)
    203          {
    204          }
    205          
    206          /*******************************************************************************
    207          * Function Name  : EXTI0_IRQHandler
    208          * Description    : This function handles External interrupt Line 0 request.
    209          * Input          : None
    210          * Output         : None
    211          * Return         : None
    212          *******************************************************************************/
    213          void EXTI0_IRQHandler(void)
    214          {
    215          }
    216          
    217          /*******************************************************************************
    218          * Function Name  : EXTI1_IRQHandler
    219          * Description    : This function handles External interrupt Line 1 request.
    220          * Input          : None
    221          * Output         : None
    222          * Return         : None
    223          *******************************************************************************/
    224          void EXTI1_IRQHandler(void)
    225          {
    226          }
    227          
    228          /*******************************************************************************
    229          * Function Name  : EXTI2_IRQHandler
    230          * Description    : This function handles External interrupt Line 2 request.
    231          * Input          : None
    232          * Output         : None
    233          * Return         : None
    234          *******************************************************************************/
    235          void EXTI2_IRQHandler(void)
    236          {
    237          }
    238          
    239          /*******************************************************************************
    240          * Function Name  : EXTI3_IRQHandler
    241          * Description    : This function handles External interrupt Line 3 request.
    242          * Input          : None

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -