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

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

?? stm32f10x_tim.h

?? STM32的GPIO口模擬串口通信
?? 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网站| 色综合久久综合网| 色哟哟国产精品| 3d动漫精品啪啪| 中文字幕+乱码+中文字幕一区| 日韩一区日韩二区| 老司机午夜精品| 色综合久久综合网| 久久久久亚洲蜜桃| 亚洲一区二区精品3399| 国产老妇另类xxxxx| 日本国产一区二区| 国产亲近乱来精品视频| 亚洲成人免费看| 99这里只有精品| 久久久久国产精品免费免费搜索| 亚洲与欧洲av电影| 97精品超碰一区二区三区| 精品国产污网站| 天天影视色香欲综合网老头| 91精品福利视频| 亚洲色图欧美激情| 91精品国产欧美日韩| 奇米色一区二区三区四区| 欧美三级在线看| 亚洲综合免费观看高清在线观看| 日本精品裸体写真集在线观看| 中文字幕欧美三区| 成人在线视频一区| 中文字幕免费不卡在线| 91在线精品秘密一区二区| 亚洲欧美日韩精品久久久久| 99久久99久久久精品齐齐| 成人免费在线视频| 欧美三级日本三级少妇99| 蜜桃av一区二区三区电影| 欧美mv日韩mv| 国产乱一区二区| 中文字幕人成不卡一区| 欧美图片一区二区三区| 日韩**一区毛片| 久久久一区二区| 色av一区二区| 久久精品国产在热久久| 国产精品国产自产拍高清av| 91美女片黄在线观看91美女| 日韩电影在线一区二区三区| 久久精品人人做| 色婷婷av一区二区三区之一色屋| 五月婷婷综合网| 日本一区二区视频在线| 蜜乳av一区二区| 国产精品色哟哟| 欧美日韩成人在线一区| 国产精品乡下勾搭老头1| 亚洲三级小视频| 日韩精品自拍偷拍| 色综合一个色综合| 精品一区二区免费看| 亚洲另类色综合网站| 久久精品一区二区三区四区| 91精品国产综合久久精品app| 国产不卡在线播放| 国产在线不卡一区| 日韩影院免费视频| 亚洲在线免费播放| 国产精品国产三级国产aⅴ原创 | 91久久精品国产91性色tv| 极品销魂美女一区二区三区| 三级不卡在线观看| 亚洲综合一区二区精品导航| 亚洲欧美中日韩| 中文字幕一区二区三区乱码在线| 精品国产乱码久久久久久浪潮| 日韩视频中午一区| 欧美成人性战久久| 欧美精品一区二区三区一线天视频 | 精品一区二区在线视频| 蜜桃在线一区二区三区| 久久精品国产亚洲5555| 国产一区二区中文字幕| 国产精品亚洲综合一区在线观看| 国产一区二区不卡老阿姨| 国产一区二区三区四区五区美女| 蜜桃视频一区二区三区在线观看| 国内外成人在线视频| 成人黄色电影在线| 91豆麻精品91久久久久久| 在线观看三级视频欧美| 欧美一区二区国产| 国产亚洲精品bt天堂精选| 18成人在线视频| 五月天国产精品| 国产成人免费视频一区| 欧美亚洲丝袜传媒另类| 精品乱人伦小说| 亚洲综合网站在线观看| 国产精品白丝在线| 久久99精品国产麻豆婷婷| 懂色av一区二区在线播放| 91搞黄在线观看| 精品理论电影在线观看 | 日韩精品一区二区三区视频在线观看 | 亚洲国产精品成人综合| 久久er99热精品一区二区| 欧美猛男gaygay网站| 欧美精品1区2区3区| 日韩区在线观看| 久久se精品一区二区| 精品国产欧美一区二区| 国产综合久久久久久久久久久久| 欧美成人精品3d动漫h| 毛片基地黄久久久久久天堂| 欧美日韩大陆在线| 偷拍与自拍一区| 9191国产精品| 黄色日韩三级电影| 久久精品亚洲麻豆av一区二区| 九九精品视频在线看| 日韩欧美aaaaaa| 国产成人啪免费观看软件| 夜夜嗨av一区二区三区网页| 欧美一区二区久久久| 精品在线视频一区| 精品欧美一区二区在线观看| 麻豆精品视频在线观看| 精品国产免费一区二区三区香蕉 | 一本色道综合亚洲| 亚欧色一区w666天堂| 精品美女一区二区| 97久久久精品综合88久久| 丝袜美腿亚洲一区二区图片| 日韩一区二区在线免费观看| 加勒比av一区二区| 亚洲精品视频免费看| 91精品国产aⅴ一区二区| 成人理论电影网| 看片的网站亚洲| 成人免费一区二区三区视频 | 蜜臀久久99精品久久久久宅男| 久久久99精品久久| 欧美色综合影院| 成人精品鲁一区一区二区| 日韩不卡在线观看日韩不卡视频| 国产三级久久久| 欧美剧在线免费观看网站| 国产毛片精品国产一区二区三区| 亚洲色图欧洲色图婷婷| 26uuu国产在线精品一区二区| 欧美调教femdomvk| 欧美主播一区二区三区美女| 国产在线播放一区三区四| 午夜久久久影院| 一区二区在线观看视频在线观看| 久久免费的精品国产v∧| 欧美欧美欧美欧美首页| 欧美日韩国产美| 91首页免费视频| 国产成人精品影视| 国产精品一区在线观看乱码| 麻豆精品新av中文字幕| 青青草精品视频| 天堂一区二区在线免费观看| 一区二区激情小说| 亚洲国产视频一区二区| 亚洲愉拍自拍另类高清精品| 亚洲风情在线资源站| 无吗不卡中文字幕| 偷窥国产亚洲免费视频 | 欧美巨大另类极品videosbest | 亚洲国产日韩av| 亚洲一区影音先锋| 亚洲成人激情自拍| 日韩中文字幕区一区有砖一区 | 久久99国产精品麻豆| 高清不卡一区二区在线| 99久久婷婷国产| 欧美酷刑日本凌虐凌虐| 久久一夜天堂av一区二区三区| 欧美国产1区2区| 亚洲国产精品一区二区尤物区| 午夜影院久久久| 国内久久精品视频| 色综合视频在线观看| 91精品中文字幕一区二区三区| 精品国产欧美一区二区| 亚洲精品国久久99热| 久久电影国产免费久久电影| 不卡一区二区中文字幕| 91精品免费在线观看| 亚洲品质自拍视频| 国产精品99久久久| 欧美福利视频导航| 亚洲视频小说图片| 久久99精品久久久久| 欧美日本一道本在线视频| 亚洲欧美激情插| 91一区二区在线| 中文在线资源观看网站视频免费不卡| 日韩精品高清不卡|