亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产福利精品一区| 欧美日韩一区二区三区在线| 在线免费亚洲电影| 精品福利二区三区| 亚洲电影第三页| 成人不卡免费av| 久久久精品国产99久久精品芒果| 欧美电视剧免费全集观看 | 国产一区二区在线看| 99久久国产综合色|国产精品| 91福利视频久久久久| 国产精品久久久久影院| 韩国中文字幕2020精品| 在线播放欧美女士性生活| 一区二区三区美女视频| www.欧美色图| 国产午夜精品一区二区| 激情综合网激情| 精品久久免费看| 美女一区二区久久| 日韩午夜精品视频| 青草av.久久免费一区| 欧美日韩一区精品| 亚洲一区二三区| 91成人网在线| 亚洲精品免费播放| www.66久久| 中文字幕亚洲一区二区av在线 | 国产美女精品一区二区三区| 欧美一区二区私人影院日本| 日产欧产美韩系列久久99| 欧美视频在线一区二区三区| 亚洲图片你懂的| 91丨九色丨国产丨porny| 综合激情成人伊人| 91亚洲精华国产精华精华液| 综合色中文字幕| 日本福利一区二区| 亚洲香蕉伊在人在线观| 欧美丝袜丝nylons| 日韩电影一区二区三区四区| 日韩一区二区三区观看| 麻豆精品蜜桃视频网站| 久久久一区二区三区| 国产精品一色哟哟哟| 国产精品欧美一级免费| 色婷婷综合五月| 日韩中文字幕不卡| 精品免费一区二区三区| 国v精品久久久网| 亚洲三级电影网站| 这里只有精品电影| 国产一区91精品张津瑜| 亚洲人123区| 欧美美女激情18p| 激情欧美一区二区| 国产精品毛片久久久久久久| 日本乱人伦aⅴ精品| 日本特黄久久久高潮| 国产欧美日韩三区| 欧美中文字幕一区二区三区亚洲| 亚洲国产日韩a在线播放| 欧美一二三区精品| 国产超碰在线一区| 亚洲成在人线免费| 久久亚洲精华国产精华液| 一本色道a无线码一区v| 美女网站色91| 国产精品福利一区二区| 91精品国产综合久久蜜臀| 国产成人精品1024| 肉色丝袜一区二区| 国产人成一区二区三区影院| 精品视频在线免费| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 久久理论电影网| 91啪九色porn原创视频在线观看| 18涩涩午夜精品.www| 日韩一区二区三| www.亚洲精品| 国产一区二区中文字幕| 亚洲成人激情av| 国产精品久久久久久久久晋中| 欧美日韩国产另类不卡| av一本久道久久综合久久鬼色| 日本在线不卡一区| 一区二区视频在线| 欧美国产日韩一二三区| 欧美一级精品在线| 欧美日韩精品免费| 日本乱人伦aⅴ精品| 福利一区福利二区| 国产原创一区二区三区| 丝袜亚洲另类丝袜在线| 一区二区在线观看不卡| 国产精品剧情在线亚洲| 精品国产电影一区二区| 6080午夜不卡| 欧美三级一区二区| 91蝌蚪国产九色| 99视频有精品| 成人污污视频在线观看| 国产一区二区毛片| 国产在线观看免费一区| 久久精品国产999大香线蕉| 午夜激情一区二区三区| 亚洲一区二区精品久久av| 亚洲色图.com| 亚洲人成亚洲人成在线观看图片| 欧美一级日韩一级| 欧美日韩一区二区三区四区五区| 99精品视频一区二区三区| 成人精品免费看| 懂色av一区二区夜夜嗨| 国产999精品久久| 国产成人免费视频| 丁香一区二区三区| 国产福利不卡视频| 国产成人午夜电影网| 国产精品88av| 国产成人精品免费一区二区| 丁香六月综合激情| 99久久99久久免费精品蜜臀| www.日韩精品| 91国内精品野花午夜精品 | 人人超碰91尤物精品国产| 日本不卡一区二区三区高清视频| 亚洲午夜三级在线| 美女视频黄免费的久久| 久久成人精品无人区| 国产综合久久久久影院| 福利一区福利二区| 日本二三区不卡| 欧美日本国产视频| 精品国内片67194| 久久久午夜精品理论片中文字幕| 精品国产乱码久久久久久久| 久久色在线观看| 亚洲日本电影在线| 亚洲超丰满肉感bbw| 久久99精品国产麻豆不卡| 国产精品一二三| 91福利小视频| 精品欧美久久久| 亚洲女人****多毛耸耸8| 午夜电影久久久| 国产精品亚洲专一区二区三区 | 91女神在线视频| 欧美一区二区三区不卡| 国产三级一区二区三区| 亚洲日本青草视频在线怡红院| 亚洲综合清纯丝袜自拍| 狠狠色狠狠色综合| 91视频com| 欧美不卡一区二区三区四区| 中文字幕亚洲欧美在线不卡| 日韩va亚洲va欧美va久久| 成人午夜看片网址| 777久久久精品| 国产精品久久久久久久第一福利| 亚洲最大成人综合| 国产精品一区免费视频| 欧美伊人精品成人久久综合97| 欧美电影免费观看高清完整版在 | 日韩午夜精品视频| 亚洲欧美怡红院| 国产一区二区在线视频| 欧美日韩中字一区| 国产精品国产精品国产专区不片 | 狠狠网亚洲精品| 在线观看免费成人| 中文字幕欧美区| 蜜臀av性久久久久蜜臀aⅴ流畅 | 欧美日韩一区成人| 国产精品你懂的| 国产乱子伦一区二区三区国色天香 | 国产乱码精品一区二区三区五月婷 | av不卡一区二区三区| 欧美日韩国产免费| 最新日韩在线视频| 国产精品正在播放| 日韩女同互慰一区二区| 一区2区3区在线看| 91啪亚洲精品| 国产精品视频在线看| 国产精品一二三四五| 日韩网站在线看片你懂的| 亚洲国产另类av| 91美女片黄在线| 亚洲三级久久久| 91在线云播放| 亚洲视频电影在线| av在线不卡观看免费观看| 亚洲国产精品黑人久久久| 国产剧情一区二区三区| 日韩精品一区二| 国内精品伊人久久久久av一坑| 在线一区二区视频| 一区二区三区不卡在线观看| 色94色欧美sute亚洲线路二|