STM32L443xx HAL User Manual
Defines | Functions
stm32l4xx_ll_tim.c File Reference

TIM LL module driver. More...

#include "stm32l4xx_ll_tim.h"
#include "stm32l4xx_ll_bus.h"

Go to the source code of this file.

Defines

#define assert_param(expr)   ((void)0U)
#define IS_LL_TIM_COUNTERMODE(__VALUE__)
#define IS_LL_TIM_CLOCKDIVISION(__VALUE__)
#define IS_LL_TIM_OCMODE(__VALUE__)
#define IS_LL_TIM_OCSTATE(__VALUE__)
#define IS_LL_TIM_OCPOLARITY(__VALUE__)
#define IS_LL_TIM_OCIDLESTATE(__VALUE__)
#define IS_LL_TIM_ACTIVEINPUT(__VALUE__)
#define IS_LL_TIM_ICPSC(__VALUE__)
#define IS_LL_TIM_IC_FILTER(__VALUE__)
#define IS_LL_TIM_IC_POLARITY(__VALUE__)
#define IS_LL_TIM_ENCODERMODE(__VALUE__)
#define IS_LL_TIM_IC_POLARITY_ENCODER(__VALUE__)
#define IS_LL_TIM_OSSR_STATE(__VALUE__)
#define IS_LL_TIM_OSSI_STATE(__VALUE__)
#define IS_LL_TIM_LOCK_LEVEL(__VALUE__)
#define IS_LL_TIM_BREAK_STATE(__VALUE__)
#define IS_LL_TIM_BREAK_POLARITY(__VALUE__)
#define IS_LL_TIM_BREAK_FILTER(__VALUE__)
#define IS_LL_TIM_BREAK2_STATE(__VALUE__)
#define IS_LL_TIM_BREAK2_POLARITY(__VALUE__)
#define IS_LL_TIM_BREAK2_FILTER(__VALUE__)
#define IS_LL_TIM_AUTOMATIC_OUTPUT_STATE(__VALUE__)

Functions

static ErrorStatus OC1Config (TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct)
 Configure the TIMx output channel 1.
static ErrorStatus OC2Config (TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct)
 Configure the TIMx output channel 2.
static ErrorStatus OC3Config (TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct)
 Configure the TIMx output channel 3.
static ErrorStatus OC4Config (TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct)
 Configure the TIMx output channel 4.
static ErrorStatus OC5Config (TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct)
 Configure the TIMx output channel 5.
static ErrorStatus OC6Config (TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct)
 Configure the TIMx output channel 6.
static ErrorStatus IC1Config (TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct)
 Configure the TIMx input channel 1.
static ErrorStatus IC2Config (TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct)
 Configure the TIMx input channel 2.
static ErrorStatus IC3Config (TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct)
 Configure the TIMx input channel 3.
static ErrorStatus IC4Config (TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct)
 Configure the TIMx input channel 4.
ErrorStatus LL_TIM_DeInit (TIM_TypeDef *TIMx)
 Set TIMx registers to their reset values.
void LL_TIM_StructInit (LL_TIM_InitTypeDef *TIM_InitStruct)
 Set the fields of the time base unit configuration data structure to their default values.
ErrorStatus LL_TIM_Init (TIM_TypeDef *TIMx, LL_TIM_InitTypeDef *TIM_InitStruct)
 Configure the TIMx time base unit.
void LL_TIM_OC_StructInit (LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct)
 Set the fields of the TIMx output channel configuration data structure to their default values.
ErrorStatus LL_TIM_OC_Init (TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct)
 Configure the TIMx output channel.
void LL_TIM_IC_StructInit (LL_TIM_IC_InitTypeDef *TIM_ICInitStruct)
 Set the fields of the TIMx input channel configuration data structure to their default values.
ErrorStatus LL_TIM_IC_Init (TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct)
 Configure the TIMx input channel.
void LL_TIM_ENCODER_StructInit (LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct)
 Fills each TIM_EncoderInitStruct field with its default value.
ErrorStatus LL_TIM_ENCODER_Init (TIM_TypeDef *TIMx, LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct)
 Configure the encoder interface of the timer instance.
void LL_TIM_HALLSENSOR_StructInit (LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct)
 Set the fields of the TIMx Hall sensor interface configuration data structure to their default values.
ErrorStatus LL_TIM_HALLSENSOR_Init (TIM_TypeDef *TIMx, LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct)
 Configure the Hall sensor interface of the timer instance.
void LL_TIM_BDTR_StructInit (LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct)
 Set the fields of the Break and Dead Time configuration data structure to their default values.
ErrorStatus LL_TIM_BDTR_Init (TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct)
 Configure the Break and Dead Time feature of the timer instance.

Detailed Description

TIM LL module driver.

Author:
MCD Application Team
Attention:

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32l4xx_ll_tim.c.


Define Documentation

#define assert_param (   expr)    ((void)0U)