Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Advanced-control timers (TIM1_MORT and TIM8_MORT) specific features
[TIM_Private_Functions]
  Advanced-control timers (TIM1_MORT and TIM8_MORT) specific features. More...
| Functions | |
| void | TIM_BDTRConfig_mort (TIM_TypeDef_mort *TIMx, TIM_BDTRInitTypeDef_mort *TIM_BDTRInitStruct) | 
| Configures the Break feature, dead time, Lock level, OSSI/OSSR State and the AOE(automatic output enable). | |
| void | TIM_BDTRStructInit_mort (TIM_BDTRInitTypeDef_mort *TIM_BDTRInitStruct) | 
| Fills each TIM_BDTRInitStruct member with its default value. | |
| void | TIM_CtrlPWMOutputs_mort (TIM_TypeDef_mort *TIMx, FunctionalState NewState) | 
| Enables or disables the TIM peripheral Main Outputs. | |
| void | TIM_SelectCOM_mort (TIM_TypeDef_mort *TIMx, FunctionalState NewState) | 
| Selects the TIM peripheral Commutation event. | |
| void | TIM_CCPreloadControl_mort (TIM_TypeDef_mort *TIMx, FunctionalState NewState) | 
| Sets or Resets the TIM peripheral Capture Compare Preload Control bit. | |
Detailed Description
Advanced-control timers (TIM1_MORT and TIM8_MORT) specific features.
 ===============================================================================
      ##### Advanced-control timers (TIM1_MORT and TIM8_MORT) specific features #####
 ===============================================================================  
        
             ##### TIM Driver: how to use the Break feature #####
 ===============================================================================
    [..] 
    After configuring the Timer channel(s) in the appropriate Output Compare mode: 
                         
      (#) Fill the TIM_BDTRInitStruct with the desired parameters for the Timer
          Break Polarity, dead time, Lock level, the OSSI/OSSR State and the 
          AOE(automatic output enable).
               
      (#) Call TIM_BDTRConfig_mort(TIMx, &TIM_BDTRInitStruct) to configure the Timer
          
      (#) Enable the Main Output using TIM_CtrlPWMOutputs_mort(TIM1_MORT, ENABLE) 
          
      (#) Once the break even occurs, the Timer's output signals are put in reset
          state or in a known state (according to the configuration made in
          TIM_BDTRConfig_mort() function).
Function Documentation
| void TIM_BDTRConfig_mort | ( | TIM_TypeDef_mort * | TIMx, | 
| TIM_BDTRInitTypeDef_mort * | TIM_BDTRInitStruct | ||
| ) | 
Configures the Break feature, dead time, Lock level, OSSI/OSSR State and the AOE(automatic output enable).
- Parameters:
- 
  TIMx,: where x can be 1 or 8 to select the TIM TIM_BDTRInitStruct,: pointer to a TIM_BDTRInitTypeDef_mort structure that contains the BDTR Register configuration information for the TIM peripheral. 
- Return values:
- 
  None 
Definition at line 2221 of file stm32f4xx_tim_mort.c.
| void TIM_BDTRStructInit_mort | ( | TIM_BDTRInitTypeDef_mort * | TIM_BDTRInitStruct ) | 
Fills each TIM_BDTRInitStruct member with its default value.
- Parameters:
- 
  TIM_BDTRInitStruct,: pointer to a TIM_BDTRInitTypeDef_mort structure which will be initialized. 
- Return values:
- 
  None 
Definition at line 2246 of file stm32f4xx_tim_mort.c.
| void TIM_CCPreloadControl_mort | ( | TIM_TypeDef_mort * | TIMx, | 
| FunctionalState | NewState | ||
| ) | 
Sets or Resets the TIM peripheral Capture Compare Preload Control bit.
- Parameters:
- 
  TIMx,: where x can be 1 or 8 to select the TIMx peripheral NewState,: new state of the Capture Compare Preload Control bit This parameter can be: ENABLE or DISABLE. 
- Return values:
- 
  None 
Definition at line 2315 of file stm32f4xx_tim_mort.c.
| void TIM_CtrlPWMOutputs_mort | ( | TIM_TypeDef_mort * | TIMx, | 
| FunctionalState | NewState | ||
| ) | 
Enables or disables the TIM peripheral Main Outputs.
- Parameters:
- 
  TIMx,: where x can be 1 or 8 to select the TIMx peripheral. NewState,: new state of the TIM peripheral Main Outputs. This parameter can be: ENABLE or DISABLE. 
- Return values:
- 
  None 
Definition at line 2265 of file stm32f4xx_tim_mort.c.
| void TIM_SelectCOM_mort | ( | TIM_TypeDef_mort * | TIMx, | 
| FunctionalState | NewState | ||
| ) | 
Selects the TIM peripheral Commutation event.
- Parameters:
- 
  TIMx,: where x can be 1 or 8 to select the TIMx peripheral NewState,: new state of the Commutation event. This parameter can be: ENABLE or DISABLE. 
- Return values:
- 
  None 
Definition at line 2290 of file stm32f4xx_tim_mort.c.
Generated on Sat Oct 21 2023 04:38:55 by
 1.7.2
 1.7.2