STM32F103xB HAL User Manual
|
TIM LL module driver. More...
#include "stm32f1xx_ll_tim.h"
#include "stm32f1xx_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_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 | 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. |
TIM LL module driver.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f1xx_ll_tim.c.
#define assert_param | ( | expr | ) | ((void)0U) |
Definition at line 28 of file stm32f1xx_ll_tim.c.
Referenced by IC1Config(), IC2Config(), IC3Config(), IC4Config(), LL_TIM_BDTR_Init(), LL_TIM_DeInit(), LL_TIM_ENCODER_Init(), LL_TIM_HALLSENSOR_Init(), LL_TIM_Init(), OC1Config(), OC2Config(), OC3Config(), and OC4Config().