• 大小写不分
    了解作者
  • Visual C++
    开发工具
  • 1006KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 27
    下载次数
  • 2017-06-03 12:31
    上传日期
stm32发射红外信号
红外发射.zip
  • 红外发射
  • lib
  • inc
  • stm32f0xx_flash.h
    10.7KB
  • stm32f0xx_iwdg.h
    4.4KB
  • stm32f0xx_cec.h
    12.1KB
  • stm32f0xx_spi.h
    21.8KB
  • stm32f0xx_dbgmcu.h
    3.8KB
  • stm32f0xx_gpio.h
    12.9KB
  • stm32f0xx_usart.h
    24.9KB
  • stm32f0xx_dac.h
    7KB
  • stm32f0xx_rtc.h
    34.2KB
  • stm32f0xx_exti.h
    8.4KB
  • stm32f0xx_rcc.h
    20.1KB
  • stm32f0xx_i2c.h
    17.7KB
  • stm32f0xx_crc.h
    3.6KB
  • stm32f0xx_wwdg.h
    3.5KB
  • stm32f0xx_misc.h
    4.3KB
  • stm32f0xx_dma.h
    13.9KB
  • stm32f0xx_syscfg.h
    9KB
  • stm32f0xx_pwr.h
    5.8KB
  • stm32f0xx_tim.h
    50.5KB
  • stm32f0xx_comp.h
    10.1KB
  • stm32f0xx_adc.h
    19.1KB
  • src
  • stm32f0xx_cec.c
    23.6KB
  • stm32f0xx_dac.c
    18.5KB
  • stm32f0xx_usart.c
    79.2KB
  • stm32f0xx_rtc.c
    86.6KB
  • stm32f0xx_comp.c
    15.2KB
  • stm32f0xx_dbgmcu.c
    6.8KB
  • stm32f0xx_syscfg.c
    11.3KB
  • stm32f0xx_exti.c
    10.3KB
  • stm32f0xx_crc.c
    8.5KB
  • stm32f0xx_rcc.c
    58.3KB
  • stm32f0xx_dma.c
    27.8KB
  • stm32f0xx_i2c.c
    53.8KB
  • stm32f0xx_wwdg.c
    9.8KB
  • stm32f0xx_misc.c
    6KB
  • stm32f0xx_tim.c
    120.5KB
  • stm32f0xx_gpio.c
    17.7KB
  • stm32f0xx_spi.c
    49.1KB
  • stm32f0xx_flash.c
    38.5KB
  • stm32f0xx_pwr.c
    19.1KB
  • stm32f0xx_adc.c
    44.7KB
  • stm32f0xx_iwdg.c
    10.7KB
  • drive
  • Irad_code.c
    2.1KB
  • LightIntensity_ADC.h
    204B
  • LightIntensity_ADC.c
    1.7KB
  • Irad_code.h
    577B
  • user
  • main.d
    565B
  • Irad_code.lnp
    396B
  • lightintensity_adc.o
    190.5KB
  • main.o
    182.8KB
  • Irad_code.build_log.htm
    187B
  • stm32f0xx_adc.d
    667B
  • stm32f0xx_gpio.o
    184.9KB
  • Irad_code.map
    64KB
  • startup_stm32f0xx.lst
    30.1KB
  • lightintensity_adc.d
    785B
  • main.crf
    162.3KB
  • Irad_code.uvopt
    10.2KB
  • Irad_code.tra
    1.2KB
  • Irad_code.uvgui_dell.bak
    71.1KB
  • Irad_code.uvgui_gxt.bak
    137.9KB
  • Irad_code.uvproj
    16.5KB
  • Irad_code.uvgui.gxt
    138.1KB
  • irad_code.o
    183.5KB
  • Irad_code.axf
    213KB
  • Irad_code_Target 11.dep
    6.2KB
  • Irad_code_uvopt.bak
    10.2KB
  • stm32f0xx_rcc.d
    667B
  • Irad_code.uvgui.Administrator
    71.1KB
  • LightIntensity_ADC.h
    204B
  • Irad_code.htm
    44.5KB
  • Irad_code.sct
    479B
  • stm32f0xx_rcc.crf
    169.3KB
  • startup_stm32f0xx.o
    4.6KB
  • system_stm32f0xx.crf
    163.2KB
  • Irad_code.uvgui_Administrator.bak
    71.1KB
  • stm32f0xx_gpio.crf
    163.9KB
  • Irad_code.hex
    14.1KB
  • system_stm32f0xx.o
    182KB
  • stm32f0xx_adc.crf
    173.6KB
  • lightintensity_adc.crf
    169.9KB
  • startup_stm32f0xx.d
    44B
  • stm32f0xx_gpio.d
    681B
  • Irad_code_Target 1.dep
    4.7KB
  • Irad_code_uvproj.bak
    17.1KB
  • stm32f0xx_adc.o
    198KB
  • irad_code.crf
    163.1KB
  • irad_code.d
    607B
  • Irad_code.uvgui.dell
    71.1KB
  • system_stm32f0xx.d
    656B
  • stm32f0xx_rcc.o
    193.1KB
  • startup_stm32f0xx.s
    10.4KB
  • main.c
    1004B
  • stm32f0
内容介绍
/** ****************************************************************************** * @file stm32f0xx_tim.c * @author MCD Application Team * @version V1.0.0 * @date 23-March-2012 * @brief This file provides firmware functions to manage the following * functionalities of the TIM peripheral: * + TimeBase management * + Output Compare management * + Input Capture management * + Interrupts, DMA and flags management * + Clocks management * + Synchronization management * + Specific interface management * + Specific remapping management * * @verbatim =============================================================================== ##### How to use this driver ##### =============================================================================== [..] This driver provides functions to configure and program the TIM of all STM32F0xx devices These functions are split in 8 groups: (#) TIM TimeBase management: this group includes all needed functions to configure the TM Timebase unit: (++) Set/Get Prescaler. (++) Set/Get Autoreload. (++) Counter modes configuration. (++) Set Clock division. (++) Select the One Pulse mode. (++) Update Request Configuration. (++) Update Disable Configuration. (++) Auto-Preload Configuration. (++) Enable/Disable the counter. (#) TIM Output Compare management: this group includes all needed functions to configure the Capture/Compare unit used in Output compare mode: (++) Configure each channel, independently, in Output Compare mode. (++) Select the output compare modes. (++) Select the Polarities of each channel. (++) Set/Get the Capture/Compare register values. (++) Select the Output Compare Fast mode. (++) Select the Output Compare Forced mode. (++) Output Compare-Preload Configuration. (++) Clear Output Compare Reference. (++) Select the OCREF Clear signal. (++) Enable/Disable the Capture/Compare Channels. (#) TIM Input Capture management: this group includes all needed functions to configure the Capture/Compare unit used in Input Capture mode: (++) Configure each channel in input capture mode. (++) Configure Channel1/2 in PWM Input mode. (++) Set the Input Capture Prescaler. (++) Get the Capture/Compare values. (#) Advanced-control timers (TIM1) specific features (++) Configures the Break input, dead time, Lock level, the OSSI, the OSSR State and the AOE(automatic output enable) (++) Enable/Disable the TIM peripheral Main Outputs (++) Select the Commutation event (++) Set/Reset the Capture Compare Preload Control bit (#) TIM interrupts, DMA and flags management. (++) Enable/Disable interrupt sources. (++) Get flags status. (++) Clear flags/ Pending bits. (++) Enable/Disable DMA requests. (++) Configure DMA burst mode. (++) Select CaptureCompare DMA request. (#) TIM clocks management: this group includes all needed functions to configure the clock controller unit: (++) Select internal/External clock. (++) Select the external clock mode: ETR(Mode1/Mode2), TIx or ITRx. (#) TIM synchronization management: this group includes all needed. functions to configure the Synchronization unit: (++) Select Input Trigger. (++) Select Output Trigger. (++) Select Master Slave Mode. (++) ETR Configuration when used as external trigger. (#) TIM specific interface management, this group includes all needed functions to use the specific TIM interface: (++) Encoder Interface Configuration. (++) Select Hall Sensor. (#) TIM specific remapping management includes the Remapping configuration of specific timers @endverbatim * ****************************************************************************** * @attention * * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2> * * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.st.com/software_license_agreement_liberty_v2 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f0xx_tim.h" #include "stm32f0xx_rcc.h" /** @addtogroup STM32F0xx_StdPeriph_Driver * @{ */ /** @defgroup TIM * @brief TIM driver modules * @{ */ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ /* ---------------------- TIM registers bit mask ------------------------ */ #define SMCR_ETR_MASK ((uint16_t)0x00FF) #define CCMR_OFFSET ((uint16_t)0x0018) #define CCER_CCE_SET ((uint16_t)0x0001) #define CCER_CCNE_SET ((uint16_t)0x0004) /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ static void TI1_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); static void TI2_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); static void TI3_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); static void TI4_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); /* Private functions ---------------------------------------------------------*/ /** @defgroup TIM_Private_Functions * @{ */ /** @defgroup TIM_Group1 TimeBase management functions * @brief TimeBase management functions * @verbatim =============================================================================== ##### TimeBase management functions ##### =============================================================================== *** TIM Driver: how to use it in Timing(Time base) Mode *** =============================================================================== [..] To use the Timer in Timing(Time base) mode, the following steps are mandatory: (#) Enable TIM clock using RCC_APBxPeriphClockCmd(RCC_APBxPeriph_TIMx, ENABLE) function. (#) Fill the TIM_TimeBaseInitStruct with the desired parameters. (#) Call TIM_TimeBaseInit(TIMx, &
评论
    相关推荐
    • 红外接收发射Proteus
      全面的Proteus单片机模拟红外线接收器和发射器,c语言
    • 6、红外发射接收.rar
      8051单片机红外发射接收模块演示代码及基础文件
    • 红外发射与接收
      红外稳定接收与发射,选用51单片机实现数据处理,传输距离为10米!
    • 51单片机红外发射接收
      hs0038 号外接收头,基于89c51接收解码,12c51发射编码的 红外遥控程序。
    • 红外发射代码.rar
      代码主要是根据NEC协议写的红外发射部分,解码代码网上很多,而关于编码后发射这部分并不丰富。我花了一些时间写了这个红外发射代码。希望给学红外通信的朋友带来些帮助。
    • proteus仿真红外发射接收
      线的接收、放大、解调,还原成同步发射格式相同(但高、低电位刚好相反的脉冲信号)。这些工作通常由一体 化的接收头来完成,主要输出TTL兼容电平。最后通过解码把脉冲信号转换成数据,从而实现数据的传输。 本单元...
    • 19-红外发射程序(NEC码)-15系列通用PCA0发送.rar
      利用STC15W408AS 单片机做成红外发射程序
    • 红外发射.zip
      串口发送一段数据 并测算其发送函数的阻塞时间 ,使能DMA时间与 未使能DMA 时间。
    • 12-红外发射程序.rar
      红外发射程序,内含C和汇编两种语言供选择
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档