资源简介

STM32 tim3的输入捕获功能解码 电视红外遥控器

资源截图

代码片段和文件信息

/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : main.c
* Author             : MCD Application Team
* Version            : V1.0
* Date               : 10/08/2007
* Description        : Main program body
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

/* Includes ------------------------------------------------------------------*/
#include “stm32f10x_lib.h“

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/*******************************************************************************
* Function Name  : main
* Description    : Main program.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
int main(void)
{
#ifdef DEBUG
  debug();
#endif

  /* Infinite loop */
  while (1)
  {
  }
}

#ifdef  DEBUG
/*******************************************************************************
* Function Name  : assert_failed
* Description    : Reports the name of the source file and the source line number
*                  where the assert_param error has occurred.
* Input          : - file: pointer to the source file name
*                  - line: assert_param error line source number
* Output         : None
* Return         : None
*******************************************************************************/
void assert_failed(u8* file u32 line)

  /* User can add his own implementation to report the file name and line number
     ex: printf(“Wrong parameters value: file %s on line %d\r\n“ file line) */

  /* Infinite loop */
  while (1)
  {
  }
}
#endif

/******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****/

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2787  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\clean-main.c

     文件       1736  2008-02-01 05:00  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\jtag\flash.cfg

     文件        136  2008-02-01 05:18  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\jtag\flash.script

     文件       1494  2008-02-01 05:00  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\jtag\openocd.cfg

     文件       1798  2008-01-26 16:14  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\jtag\target.ini

     文件       2167  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\cortexm3_macro.h

     文件      16275  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_adc.h

     文件       4081  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_bkp.h

     文件      12173  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_can.h

     文件      12405  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_dma.h

     文件       5722  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_exti.h

     文件      10336  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_flash.h

     文件      12416  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_gpio.h

     文件      15535  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_i2c.h

     文件       3388  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_iwdg.h

     文件       2934  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_lib.h

     文件      20143  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_map.h

     文件      16252  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_nvic.h

     文件       3829  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_pwr.h

     文件      13710  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_rcc.h

     文件       3591  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_rtc.h

     文件       9290  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_spi.h

     文件       3169  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_systick.h

     文件      29007  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_tim.h

     文件      34659  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_tim1.h

     文件       3383  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_type.h

     文件      11700  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_usart.h

     文件       2604  2007-10-08 01:50  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\inc\stm32f10x_wwdg.h

     文件     225750  2010-01-27 14:59  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\libstm32.a

     文件       2008  2010-01-27 14:59  STM32F103VHB6_RevZ_Demo1\STM32F103VHB6_RevZ_Demo1\lib\src\cortexm3_macro.o

............此处省略81个文件信息

评论

共有 条评论