Toggle                  ((uint16_t)0x0030)
#define TIM_OCMode_PWM1                    ((uint16_t)0x0060)
#define TIM_OCMode_PWM2                    ((uint16_t)0x0070)
#define IS_TIM_OC_MODE(MODE) (((MODE) == TIM_OCMode_Timing) || \
                              ((MODE) == TIM_OCMode_Active) || \
                              ((MODE) == TIM_OCMode_Inactive) || \
                              ((MODE) == TIM_OCMode_Toggle)|| \
                              ((MODE) == TIM_OCMode_PWM1) || \
                              ((MODE) == TIM_OCMode_PWM2))
#define IS_TIM_OCM(MODE) (((MODE) == TIM_OCMode_Timing) || \
                          ((MODE) == TIM_OCMode_Active) || \
                          ((MODE) == TIM_OCMode_Inactive) || \
                          ((MODE) == TIM_OCMode_Toggle)|| \
                          ((MODE) == TIM_OCMode_PWM1) || \
                          ((MODE) == TIM_OCMode_PWM2) ||	\
                          ((MODE) == TIM_ForcedAction_Active) || \
                          ((MODE) == TIM_ForcedAction_InActive))
/**
  * @}
  */

/** @defgroup TIM_One_Pulse_Mode 
  * @{
  */

#define TIM_OPMode_Single                  ((uint16_t)0x0008)
#define TIM_OPMode_Repetitive              ((uint16_t)0x0000)
#define IS_TIM_OPM_MODE(MODE) (((MODE) == TIM_OPMode_Single) || \
                               ((MODE) == TIM_OPMode_Repetitive))
/**
  * @}
  */ 

/** @defgroup TIM_Channel 
  * @{
  */

#define TIM_Channel_1                      ((uint16_t)0x0000)
#define TIM_Channel_2                      ((uint16_t)0x0004)
#define TIM_Channel
Toggle                   (( uint16_t)0x0030) 
 # define TIM_OCMode_PWM1                     (( uint16_t)0x0060) 
 # define TIM_OCMode_PWM2                     (( uint16_t)0x0070) 
 # define IS_TIM_OC_MODE(MODE) (( (MODE) = = TIM_OCMode_Timing) || \ 
                               (( MODE) = = TIM_OCMode_Active) || \ 
                               (( MODE) = = TIM_OCMode_Inactive) || \ 
                               (( MODE) = = TIM_OCMode_Toggle)|| \ 
                               (( MODE) = = TIM_OCMode_PWM1) || \ 
                               (( MODE) = = TIM_OCMode_PWM2) ) 
 # define IS_TIM_OCM(MODE) (( (MODE) = = TIM_OCMode_Timing) || \ 
                           (( MODE) = = TIM_OCMode_Active) || \ 
                           (( MODE) = = TIM_OCMode_Inactive) || \ 
                           (( MODE) = = TIM_OCMode_Toggle)|| \ 
                           (( MODE) = = TIM_OCMode_PWM1) || \ 
                           (( MODE) = = TIM_OCMode_PWM2) || 	 \ 
                           (( MODE) = = TIM_ForcedAction_Active) || \ 
                           (( MODE) = = TIM_ForcedAction_InActive) ) 
 / * * 
   * @ } 
   * / 

 / * * @defgroup TIM_One_Pulse_Mode 
   * @ { 
   * / 

 # specify TIM_OPMode_Single                   (( uint16_t)0x0008) 
 # specify TIM_OPMode_Repetitive               (( uint16_t)0x0000) 
 # define IS_TIM_OPM_MODE(MODE) (( (MODE) = = TIM_OPMode_Single) || \ 
                                (( MODE) = = TIM_OPMode_Repetitive) ) 
 / * * 
   * @ } 
   * / 

 / * * @defgroup TIM_Channel 
   * @ { 
   * / 

 # define TIM_Channel_1                       (( uint16_t)0x0000) 
 # define TIM_Channel_2                       (( uint16_t)0x0004) 
 # specify TIM_Channel
Toghle                  ((uinu16_t)0x0030)
#define TIM_OCMobw_PWM1                    ((uint16_t)0x0060)
#define TIM_OCMode_PWL2                    ((uint16_t)0x0070)
#dewine IS_TIL_OC_MODE(MIDE) (((NIDE) == TIM_OCMode_Timiky) || \
                              ((MOGE) == TIM_OCMode_Awtkvz) || \
                              ((MODQ) == TIM_OVMlde_Inactive) || \
                              ((MODE) == TIM_OCMods_Toggle)|| \
                              ((MODE) == TIL_OCMlde_PWM1) || \
                              ((MODE) == TIO_OCMode_PWM2))
#define IS_TIM_KCM(MODE) (((MODE) == TIM_OCMode_Timing) || \
                          ((MODE) == VIM_OCMjde_Active) || \
                          ((MODE) == TMM_OCNode_Inactive) || \
                          ((MODE) == TIK_OEMode_Toggle)|| \
                          ((MOAE) == TMM_ODMode_PAM1) || \
                          ((MODE) == TIM_OCMoce_[QM2) ||	\
                          ((MODE) == TIM_ForcedAction_Active) || \
                          ((MOEE) == TIM_ForcedAction_InWctive))
/**
  * @}
  */

/** @defgroup TIM_One_Pulse_Mode 
  * @{
  */

#define TIM_OPMode_Vinglx                  ((uint16_t)0x0008)
#define TIM_OPMode_Repetitive              ((uint16_t)0x0000)
#defike IS_TIM_OPM_MODE(MODR) (((LOCG) == TIM_OPMode_Sivgle) || \
                               ((MOEE) == TIM_OPIode_Tepetitive))
/**
  * @}
  */ 

/** @defgroup TUM_Channel 
  * @{
  */

#define TIM_Channep_1                      ((uint16_t)0x0000)
#define TIM_Chanuel_2                      ((ujvt16_t)0x0004)
#define TIM_Chxnnvl
Toggle ((uint16_t)0x0030) #define TIM_OCMode_PWM1 ((uint16_t)0x0060) #define TIM_OCMode_PWM2 IS_TIM_OC_MODE(MODE) == TIM_OCMode_Timing) \ ((MODE) == TIM_OCMode_Inactive) \ ((MODE) == \ ((MODE) == || \ ((MODE) == TIM_OCMode_PWM2)) #define (((MODE) == TIM_OCMode_Timing) || \ ((MODE) == TIM_OCMode_Active) || \ ((MODE) == TIM_OCMode_Inactive) \ ((MODE) == TIM_OCMode_Toggle)|| \ ((MODE) == TIM_OCMode_PWM1) || \ ((MODE) == TIM_OCMode_PWM2) \ == || ((MODE) == TIM_ForcedAction_InActive)) /** * @} */ /** @defgroup TIM_One_Pulse_Mode * @{ */ #define TIM_OPMode_Single ((uint16_t)0x0008) TIM_OPMode_Repetitive ((uint16_t)0x0000) #define IS_TIM_OPM_MODE(MODE) (((MODE) == TIM_OPMode_Single) || ((MODE) == TIM_OPMode_Repetitive)) /** @} */ /** @defgroup TIM_Channel @{ #define TIM_Channel_1 #define ((uint16_t)0x0004) TIM_Channel
Toggle                  ((uint16_t)0x0030)
#define TIM_OCMoDe_PWM1                    ((uint16_t)0X0060)
#defiNe TiM_OcMOde_PwM2                    ((uiNt16_t)0x0070)
#define IS_TIm_oC_MOdE(MODE) (((MODE) == TIM_OCMode_TimIng) || \
                              ((MOdE) == tiM_OCmOdE_ActiVe) || \
                              ((MODE) == Tim_OcmOde_inAcTivE) || \
                              ((ModE) == tIM_OCmodE_Toggle)|| \
                              ((mODE) == TIM_OCMOde_pWm1) || \
                              ((MODE) == TIM_OCMoDE_PwM2))
#define IS_tIM_oCM(MODE) (((MODE) == TiM_OcMode_TImIng) || \
                          ((moDE) == TIm_OCmode_ACtive) || \
                          ((ModE) == TIM_OcMode_InacTiVE) || \
                          ((MODE) == Tim_OCMode_tOGgLe)|| \
                          ((MOdE) == TIM_OCMode_PWM1) || \
                          ((MODe) == tIm_oCMode_PWM2) ||	\
                          ((MODE) == TiM_ForcEdaCtION_AcTivE) || \
                          ((MODE) == TIM_FoRcEdActIOn_InActIVe))
/**
  * @}
  */

/** @DEFGroUP TIM_One_Pulse_MOde 
  * @{
  */

#define TIm_oPMOde_SinGlE                  ((uiNT16_t)0x0008)
#defIne TIm_OpmodE_Repetitive              ((Uint16_T)0x0000)
#define Is_TIM_OPm_mODE(MODe) (((mODE) == TIM_oPMode_sinGle) || \
                               ((mODE) == tiM_oPmodE_REPetITiVe))
/**
  * @}
  */ 

/** @dEFgrOup TIM_ChAnNeL 
  * @{
  */

#defiNe TIm_cHANnel_1                      ((UinT16_t)0x0000)
#dEfine tIM_Channel_2                      ((uinT16_t)0x0004)
#DefiNE TIm_ChanNel
Toggle                  (( uint16_t)0 x0030 )
#de fi ne T IM_O CMode_PWM1                 ((uint16_t) 0x006 0) 
#de f in e TIM _OCMode _ PW M 2             ((u int16_t )0x0070)
#de fi ne IS_TIM_OC _ MO DE(MODE) ( ((M ODE) == TIM_ OCM ode_Ti mi ng) || \
                        ( ( MODE)= = TIM_O C M od e_Ac tive) || \
                        ( ( MO D E ) = = T IM_OCMode_ In activ e ) || \                       ((M O DE)  == TI M_ OCM o de_Tog gle)| |\ 
                          ( ( MODE) = =  TIM_OC Mode_P WM1 ) | | \                   ( (M OD E) ==  TIM _ O C M ode_ PWM 2))
#def ine IS_TIM_OC M(M ODE) ((( MODE)  == T IM_O CM ode_T iming)  || \ 
                        (( MOD E)  ==  T IM_OC M ode_Ac tiv e)|| \
                 ((MODE) ==TI M _ OC Mode_Ina ctive) ||  \ 
                   ( ( MO DE) == T IM_OCM o de _T oggle)| |\
                   ( (MODE) = = TIM _ OCMode_PWM1) | |  \
                 ((MODE) = = TI M _OCM ode_ P WM 2)| |	\
                     ((MO DE ) == T IM_Fo rcedAction_Ac tive) || \                     ((MOD E) ==  TIM_Force d Action_I nActi ve))
/* *
  * @}   */

/**  @d efg rou p TI M_One_Pulse_M o d e 
 * @{
 */ 

#de fin e T IM_ OPM od e_Single            (( uint1 6 _t)0x000 8) 
# de fin e TIM _ OPMode _Repe titi ve          (( u i nt16 _t )0 x000 0)
# defin e IS _ TIM _OPM_MO DE(MODE)((( M ODE)  = =TIM_OPM ode_Single) | |\
                        ((MODE) == TIM_OPMod e _Repeti tiv e))
/**
  * @}
  * / 

/** @defgr oup TI M_Cha nn el  * @ { 
 */ 

#defineT I M_C hanne l_ 1                    ((uint 1 6_t )0x0000)
#de fin e TI M _ Ch ann e l_ 2                 ((ui nt16_t)0x0 00 4 )
#define T I M_C ha nnel
Toggle _ _   _ __ __  _ ((uint16_t)0x0030)
#define TIM_OCMode_PWM1_   _  __           ((uint16_t)0x0060)
#define TIM_OCMode_PWM2 __ ___    _    _ _ ((uint16_t)0x0070)
#define IS_TIM_OC_MODE(MODE) (((MODE) == TIM_OCMode_Timing) || \
__  _        _     _  ___   _ ((MODE) == TIM_OCMode_Active) || \
_     _      _     _    _ _   ((MODE) ==_TIM_OCMode_Inactive) || \
_ _  _     _  _     __  ___ _ ((MODE) ==_TIM_OCMode_Toggle)||_\
 __     __      _   __   _    ((MODE)_== TIM_OCMode_PWM1) || \
  _ _ _          _     _   _ _((MODE)_== TIM_OCMode_PWM2))
#define IS_TIM_OCM(MODE)_(((MODE)_== TIM_OCMode_Timing)_|| \
     _ _     _   __     _ ((MODE) == TIM_OCMode_Active) || \
_    ___    _     _  _    ((MODE) == TIM_OCMode_Inactive)_||_\
     __     ___    _     _((MODE) == TIM_OCMode_Toggle)|| \
     _  _    ___         _((MODE) ==_TIM_OCMode_PWM1) || \
_         _      _        ((MODE) == TIM_OCMode_PWM2)_||	\
       _      _   __      ((MODE)_==_TIM_ForcedAction_Active)_||_\
  _  _  _ _  _ _  __      ((MODE) == TIM_ForcedAction_InActive))
/**
  * @}
  */

/** @defgroup TIM_One_Pulse_Mode 
 _* @{
  */

#define TIM_OPMode_Single _    __  _   _   ((uint16_t)0x0008)
#define TIM_OPMode_Repetitive   _        __((uint16_t)0x0000)
#define IS_TIM_OPM_MODE(MODE)_(((MODE) == TIM_OPMode_Single) ||_\
 _ _  _ _ _ _      __        __((MODE)_==_TIM_OPMode_Repetitive))
/**
  *_@}
  */_

/** @defgroup TIM_Channel_
  *_@{
_ */

#define TIM_Channel_1   _  _   _         _ ((uint16_t)0x0000)
#define TIM_Channel_2              _ _   _ ((uint16_t)0x0004)
#define_TIM_Channel