亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stm32f10x_tim.h

?? 學習stm32定時器
?? H
?? 第 1 頁 / 共 4 頁
字號:
/**
  ******************************************************************************
  * @file    stm32f10x_tim.h
  * @author  MCD Application Team
  * @version V3.5.0
  * @date    11-March-2011
  * @brief   This file contains all the functions prototypes for the TIM firmware 
  *          library.
  ******************************************************************************
  * @attention
  *
  * THE PRESENT FIRMWARE 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 FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  *
  * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F10x_TIM_H
#define __STM32F10x_TIM_H

#ifdef __cplusplus
 extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32f10x.h"

/** @addtogroup STM32F10x_StdPeriph_Driver
  * @{
  */

/** @addtogroup TIM
  * @{
  */ 

/** @defgroup TIM_Exported_Types
  * @{
  */ 

/** 
  * @brief  TIM Time Base Init structure definition
  * @note   This structure is used with all TIMx except for TIM6 and TIM7.    
  */

typedef struct
{
  uint16_t TIM_Prescaler;         /*!< Specifies the prescaler value used to divide the TIM clock.
                                       This parameter can be a number between 0x0000 and 0xFFFF */

  uint16_t TIM_CounterMode;       /*!< Specifies the counter mode.
                                       This parameter can be a value of @ref TIM_Counter_Mode */

  uint16_t TIM_Period;            /*!< Specifies the period value to be loaded into the active
                                       Auto-Reload Register at the next update event.
                                       This parameter must be a number between 0x0000 and 0xFFFF.  */ 

  uint16_t TIM_ClockDivision;     /*!< Specifies the clock division.
                                      This parameter can be a value of @ref TIM_Clock_Division_CKD */

  uint8_t TIM_RepetitionCounter;  /*!< Specifies the repetition counter value. Each time the RCR downcounter
                                       reaches zero, an update event is generated and counting restarts
                                       from the RCR value (N).
                                       This means in PWM mode that (N+1) corresponds to:
                                          - the number of PWM periods in edge-aligned mode
                                          - the number of half PWM period in center-aligned mode
                                       This parameter must be a number between 0x00 and 0xFF. 
                                       @note This parameter is valid only for TIM1 and TIM8. */
} TIM_TimeBaseInitTypeDef;       

/** 
  * @brief  TIM Output Compare Init structure definition  
  */

typedef struct
{
  uint16_t TIM_OCMode;        /*!< Specifies the TIM mode.
                                   This parameter can be a value of @ref TIM_Output_Compare_and_PWM_modes */

  uint16_t TIM_OutputState;   /*!< Specifies the TIM Output Compare state.
                                   This parameter can be a value of @ref TIM_Output_Compare_state */

  uint16_t TIM_OutputNState;  /*!< Specifies the TIM complementary Output Compare state.
                                   This parameter can be a value of @ref TIM_Output_Compare_N_state
                                   @note This parameter is valid only for TIM1 and TIM8. */

  uint16_t TIM_Pulse;         /*!< Specifies the pulse value to be loaded into the Capture Compare Register. 
                                   This parameter can be a number between 0x0000 and 0xFFFF */

  uint16_t TIM_OCPolarity;    /*!< Specifies the output polarity.
                                   This parameter can be a value of @ref TIM_Output_Compare_Polarity */

  uint16_t TIM_OCNPolarity;   /*!< Specifies the complementary output polarity.
                                   This parameter can be a value of @ref TIM_Output_Compare_N_Polarity
                                   @note This parameter is valid only for TIM1 and TIM8. */

  uint16_t TIM_OCIdleState;   /*!< Specifies the TIM Output Compare pin state during Idle state.
                                   This parameter can be a value of @ref TIM_Output_Compare_Idle_State
                                   @note This parameter is valid only for TIM1 and TIM8. */

  uint16_t TIM_OCNIdleState;  /*!< Specifies the TIM Output Compare pin state during Idle state.
                                   This parameter can be a value of @ref TIM_Output_Compare_N_Idle_State
                                   @note This parameter is valid only for TIM1 and TIM8. */
} TIM_OCInitTypeDef;

/** 
  * @brief  TIM Input Capture Init structure definition  
  */

typedef struct
{

  uint16_t TIM_Channel;      /*!< Specifies the TIM channel.
                                  This parameter can be a value of @ref TIM_Channel */

  uint16_t TIM_ICPolarity;   /*!< Specifies the active edge of the input signal.
                                  This parameter can be a value of @ref TIM_Input_Capture_Polarity */

  uint16_t TIM_ICSelection;  /*!< Specifies the input.
                                  This parameter can be a value of @ref TIM_Input_Capture_Selection */

  uint16_t TIM_ICPrescaler;  /*!< Specifies the Input Capture Prescaler.
                                  This parameter can be a value of @ref TIM_Input_Capture_Prescaler */

  uint16_t TIM_ICFilter;     /*!< Specifies the input capture filter.
                                  This parameter can be a number between 0x0 and 0xF */
} TIM_ICInitTypeDef;

/** 
  * @brief  BDTR structure definition 
  * @note   This structure is used only with TIM1 and TIM8.    
  */

typedef struct
{

  uint16_t TIM_OSSRState;        /*!< Specifies the Off-State selection used in Run mode.
                                      This parameter can be a value of @ref OSSR_Off_State_Selection_for_Run_mode_state */

  uint16_t TIM_OSSIState;        /*!< Specifies the Off-State used in Idle state.
                                      This parameter can be a value of @ref OSSI_Off_State_Selection_for_Idle_mode_state */

  uint16_t TIM_LOCKLevel;        /*!< Specifies the LOCK level parameters.
                                      This parameter can be a value of @ref Lock_level */ 

  uint16_t TIM_DeadTime;         /*!< Specifies the delay time between the switching-off and the
                                      switching-on of the outputs.
                                      This parameter can be a number between 0x00 and 0xFF  */

  uint16_t TIM_Break;            /*!< Specifies whether the TIM Break input is enabled or not. 
                                      This parameter can be a value of @ref Break_Input_enable_disable */

  uint16_t TIM_BreakPolarity;    /*!< Specifies the TIM Break Input pin polarity.
                                      This parameter can be a value of @ref Break_Polarity */

  uint16_t TIM_AutomaticOutput;  /*!< Specifies whether the TIM Automatic Output feature is enabled or not. 
                                      This parameter can be a value of @ref TIM_AOE_Bit_Set_Reset */
} TIM_BDTRInitTypeDef;

/** @defgroup TIM_Exported_constants 
  * @{
  */

#define IS_TIM_ALL_PERIPH(PERIPH) (((PERIPH) == TIM1) || \
                                   ((PERIPH) == TIM2) || \
                                   ((PERIPH) == TIM3) || \
                                   ((PERIPH) == TIM4) || \
                                   ((PERIPH) == TIM5) || \
                                   ((PERIPH) == TIM6) || \
                                   ((PERIPH) == TIM7) || \
                                   ((PERIPH) == TIM8) || \
                                   ((PERIPH) == TIM9) || \
                                   ((PERIPH) == TIM10)|| \
                                   ((PERIPH) == TIM11)|| \
                                   ((PERIPH) == TIM12)|| \
                                   ((PERIPH) == TIM13)|| \
                                   ((PERIPH) == TIM14)|| \
                                   ((PERIPH) == TIM15)|| \
                                   ((PERIPH) == TIM16)|| \
                                   ((PERIPH) == TIM17))

/* LIST1: TIM 1 and 8 */
#define IS_TIM_LIST1_PERIPH(PERIPH)  (((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM8))

/* LIST2: TIM 1, 8, 15 16 and 17 */
#define IS_TIM_LIST2_PERIPH(PERIPH) (((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM8) || \
                                     ((PERIPH) == TIM15)|| \
                                     ((PERIPH) == TIM16)|| \
                                     ((PERIPH) == TIM17)) 

/* LIST3: TIM 1, 2, 3, 4, 5 and 8 */
#define IS_TIM_LIST3_PERIPH(PERIPH) (((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM2) || \
                                     ((PERIPH) == TIM3) || \
                                     ((PERIPH) == TIM4) || \
                                     ((PERIPH) == TIM5) || \
                                     ((PERIPH) == TIM8)) 
									                                 
/* LIST4: TIM 1, 2, 3, 4, 5, 8, 15, 16 and 17 */
#define IS_TIM_LIST4_PERIPH(PERIPH) (((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM2) || \
                                     ((PERIPH) == TIM3) || \
                                     ((PERIPH) == TIM4) || \
                                     ((PERIPH) == TIM5) || \
                                     ((PERIPH) == TIM8) || \
                                     ((PERIPH) == TIM15)|| \
                                     ((PERIPH) == TIM16)|| \
                                     ((PERIPH) == TIM17))

/* LIST5: TIM 1, 2, 3, 4, 5, 8 and 15 */                                            
#define IS_TIM_LIST5_PERIPH(PERIPH) (((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM2) || \
                                     ((PERIPH) == TIM3) || \
                                     ((PERIPH) == TIM4) || \
                                     ((PERIPH) == TIM5) || \
                                     ((PERIPH) == TIM8) || \
                                     ((PERIPH) == TIM15)) 

/* LIST6: TIM 1, 2, 3, 4, 5, 8, 9, 12 and 15 */
#define IS_TIM_LIST6_PERIPH(PERIPH)  (((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM9) || \
									  ((PERIPH) == TIM12)|| \
                                      ((PERIPH) == TIM15))

/* LIST7: TIM 1, 2, 3, 4, 5, 6, 7, 8, 9, 12 and 15 */
#define IS_TIM_LIST7_PERIPH(PERIPH)  (((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM6) || \
                                      ((PERIPH) == TIM7) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM9) || \
                                      ((PERIPH) == TIM12)|| \
                                      ((PERIPH) == TIM15))                                    

/* LIST8: TIM 1, 2, 3, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16 and 17 */                                        
#define IS_TIM_LIST8_PERIPH(PERIPH)  (((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM9) || \
                                      ((PERIPH) == TIM10)|| \
                                      ((PERIPH) == TIM11)|| \
                                      ((PERIPH) == TIM12)|| \
                                      ((PERIPH) == TIM13)|| \
                                      ((PERIPH) == TIM14)|| \
                                      ((PERIPH) == TIM15)|| \
                                      ((PERIPH) == TIM16)|| \
                                      ((PERIPH) == TIM17))

/* LIST9: TIM 1, 2, 3, 4, 5, 6, 7, 8, 15, 16, and 17 */
#define IS_TIM_LIST9_PERIPH(PERIPH)  (((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM6) || \
                                      ((PERIPH) == TIM7) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM15)|| \
                                      ((PERIPH) == TIM16)|| \
                                      ((PERIPH) == TIM17))  
                                                                                                                                                                                                                          
/**
  * @}
  */ 

/** @defgroup TIM_Output_Compare_and_PWM_modes 
  * @{
  */

#define TIM_OCMode_Timing                  ((uint16_t)0x0000)
#define TIM_OCMode_Active                  ((uint16_t)0x0010)
#define TIM_OCMode_Inactive                ((uint16_t)0x0020)
#define TIM_OCMode_Toggle                  ((uint16_t)0x0030)
#define TIM_OCMode_PWM1                    ((uint16_t)0x0060)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
另类小说色综合网站| 日韩一区中文字幕| 成人高清视频在线观看| 亚洲自拍欧美精品| 久久久亚洲午夜电影| 4438x成人网最大色成网站| 成人免费视频网站在线观看| 毛片一区二区三区| 亚洲妇女屁股眼交7| 亚洲婷婷综合色高清在线| xvideos.蜜桃一区二区| 欧美激情在线一区二区三区| 6080yy午夜一二三区久久| 99久久国产综合色|国产精品| 青青国产91久久久久久| 亚洲三级在线观看| 国产日韩精品视频一区| 91麻豆精品国产91久久久 | 日韩一区二区三区av| 91浏览器入口在线观看| 成人一区在线看| 国产+成+人+亚洲欧洲自线| 久久9热精品视频| 日日欢夜夜爽一区| 午夜精品福利一区二区三区av | 国产综合一区二区| 日韩av电影免费观看高清完整版在线观看| 亚洲精品在线三区| 国产欧美日韩不卡| 欧美变态tickle挠乳网站| 欧美日韩一区二区三区在线| 成人av免费在线观看| 丁香亚洲综合激情啪啪综合| 国产一区二区三区免费在线观看| 久久精品国产精品青草| 老司机午夜精品| 久久99日本精品| 久久国产夜色精品鲁鲁99| 麻豆精品一区二区综合av| 热久久免费视频| 美腿丝袜亚洲色图| 精品一区二区免费看| 久久激情五月婷婷| 国产精品中文欧美| 成人一区在线观看| 99re视频这里只有精品| 91美女视频网站| 欧美丝袜自拍制服另类| 欧美日韩一级黄| 日韩一级免费一区| 久久美女高清视频| 国产精品国产三级国产aⅴ原创| 欧美—级在线免费片| 久久日韩粉嫩一区二区三区| 国产日韩欧美精品综合| 亚洲欧洲另类国产综合| 亚洲人成网站色在线观看| 一区二区三区成人在线视频| 午夜精品在线看| 韩国v欧美v亚洲v日本v| 成人在线综合网| 欧洲精品在线观看| 91精品婷婷国产综合久久 | 中文字幕一区三区| 亚洲精品ww久久久久久p站| 麻豆成人久久精品二区三区小说| 久久9热精品视频| 97se亚洲国产综合自在线观| 在线影视一区二区三区| 91麻豆精品国产综合久久久久久| 久久久久国产精品免费免费搜索 | 欧美96一区二区免费视频| 国产综合色精品一区二区三区| 成人小视频在线| 欧美日韩亚洲综合一区| 精品国产精品网麻豆系列 | 国产精品99久久久久久久女警| 99精品偷自拍| 91精品国产91久久综合桃花| 久久精品一区二区三区不卡 | 欧美精品一区二区在线播放| 综合分类小说区另类春色亚洲小说欧美| 一区二区三区91| 激情小说亚洲一区| 色国产综合视频| xfplay精品久久| 亚洲国产裸拍裸体视频在线观看乱了 | 丝袜美腿亚洲一区二区图片| 国产一区二区剧情av在线| 欧洲av在线精品| 久久久不卡影院| 亚洲国产视频直播| 国产不卡视频一区二区三区| 欧美理论片在线| 中文字幕亚洲区| 久久99久久久久久久久久久| 91久久一区二区| 中文字幕国产一区| 蜜臀久久99精品久久久久久9| 99精品国产视频| 2020国产精品自拍| 日韩精品三区四区| 欧美亚洲一区二区在线| 日本一区二区三区高清不卡| 奇米一区二区三区av| 在线观看日韩电影| 亚洲欧美自拍偷拍色图| 精品一二线国产| 在线播放中文一区| 亚洲人成影院在线观看| 国产成人精品影视| 精品国内二区三区| 日韩精品1区2区3区| 欧美综合在线视频| 国产精品不卡一区| 成人性生交大片免费看中文| 欧美精品一区二区三区四区| 日韩成人免费电影| 555www色欧美视频| 亚洲国产精品久久艾草纯爱 | 久久久久久久久久久久电影| 理论电影国产精品| 欧美高清激情brazzers| 亚洲一区二区三区小说| 91亚洲精品久久久蜜桃网站| 国产精品国产三级国产aⅴ中文 | 精品久久人人做人人爱| 久久国产成人午夜av影院| 在线电影欧美成精品| 天堂在线亚洲视频| 91精品国产综合久久久久久 | 国产在线精品一区二区不卡了| 欧美一区二区三区在线观看 | 国产日产亚洲精品系列| 国产一本一道久久香蕉| 久久人人97超碰com| 国内精品视频一区二区三区八戒| 欧美大片在线观看| 激情综合色丁香一区二区| 精品久久国产老人久久综合| 麻豆精品久久久| www一区二区| 国产成人av一区二区| 中文字幕精品在线不卡| 91小视频免费观看| 亚洲综合一二三区| 欧美日韩一区二区三区高清 | 亚洲欧洲精品天堂一级| 91女人视频在线观看| 亚洲综合自拍偷拍| 欧美日韩在线免费视频| 青青草伊人久久| 久久这里都是精品| 成人国产精品免费观看动漫| 亚洲色图制服诱惑| 欧美久久久一区| 精品一区二区三区久久久| 国产日韩精品一区二区三区| 91免费小视频| 午夜视黄欧洲亚洲| 精品久久久久久久久久久院品网| 国产在线麻豆精品观看| 中文一区二区完整视频在线观看| 91香蕉视频mp4| 亚洲国产成人高清精品| 欧美成人福利视频| 99国产精品国产精品毛片| 亚洲国产精品久久人人爱蜜臀| 欧美变态tickle挠乳网站| gogo大胆日本视频一区| 亚洲成人高清在线| 精品国产精品一区二区夜夜嗨| av高清久久久| 日本欧美肥老太交大片| 中文字幕精品三区| 在线成人av影院| 成人精品鲁一区一区二区| 亚洲图片欧美一区| 久久精品亚洲乱码伦伦中文| 色呦呦国产精品| 国产在线视频精品一区| 国产在线精品一区在线观看麻豆| 国产精品成人免费精品自在线观看| 欧美久久久久久久久久| 高清不卡在线观看av| 亚洲电影在线免费观看| 亚洲国产成人午夜在线一区 | 日韩亚洲国产中文字幕欧美| 国产.欧美.日韩| 日本aⅴ精品一区二区三区| 国产精品欧美一区喷水| 欧美日韩国产大片| 国产不卡在线播放| 美女视频一区二区| 一区二区三区国产精华| 国产视频一区二区在线| 91精品国产综合久久久久久漫画| 99久久久免费精品国产一区二区| 经典三级在线一区| 图片区小说区区亚洲影院|