Home
last modified time | relevance | path

Searched refs:htim (Results 1 – 13 of 13) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_tim.c223 static void TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim,
262 HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) in HAL_TIM_Base_Init() argument
265 if (htim == NULL) in HAL_TIM_Base_Init()
271 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Init()
272 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIM_Base_Init()
273 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIM_Base_Init()
274 assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); in HAL_TIM_Base_Init()
276 if (htim->State == HAL_TIM_STATE_RESET) in HAL_TIM_Base_Init()
279 htim->Lock = HAL_UNLOCKED; in HAL_TIM_Base_Init()
283 TIM_ResetCallback(htim); in HAL_TIM_Base_Init()
[all …]
Dstm32l4xx_hal_tim_ex.c148 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sC… in HAL_TIMEx_HallSensor_Init() argument
153 if (htim == NULL) in HAL_TIMEx_HallSensor_Init()
159 assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance)); in HAL_TIMEx_HallSensor_Init()
160 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIMEx_HallSensor_Init()
161 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIMEx_HallSensor_Init()
162 assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); in HAL_TIMEx_HallSensor_Init()
167 if (htim->State == HAL_TIM_STATE_RESET) in HAL_TIMEx_HallSensor_Init()
170 htim->Lock = HAL_UNLOCKED; in HAL_TIMEx_HallSensor_Init()
174 TIM_ResetCallback(htim); in HAL_TIMEx_HallSensor_Init()
176 if (htim->HallSensor_MspInitCallback == NULL) in HAL_TIMEx_HallSensor_Init()
[all …]
Dstm32l4xx_hal_timebase_tim_template.c177 void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) in HAL_TIM_PeriodElapsedCallback() argument
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_tim.c167 static void TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim,TIM_SlaveConfigTypeDef * sSlaveConfig);
207 HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) in HAL_TIM_Base_Init() argument
210 if(htim == NULL) in HAL_TIM_Base_Init()
216 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Init()
217 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIM_Base_Init()
218 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIM_Base_Init()
219 assert_param(IS_TIM_PERIOD(htim->Init.Period)); in HAL_TIM_Base_Init()
220 assert_param(IS_TIM_PRESCALER(htim->Init.Prescaler)); in HAL_TIM_Base_Init()
222 if(htim->State == HAL_TIM_STATE_RESET) in HAL_TIM_Base_Init()
225 htim->Lock = HAL_UNLOCKED; in HAL_TIM_Base_Init()
[all …]
Dstm32l0xx_hal_tim_ex.c125 HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTy… in HAL_TIMEx_MasterConfigSynchronization() argument
128 assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance)); in HAL_TIMEx_MasterConfigSynchronization()
132 __HAL_LOCK(htim); in HAL_TIMEx_MasterConfigSynchronization()
135 htim->State = HAL_TIM_STATE_BUSY; in HAL_TIMEx_MasterConfigSynchronization()
138 htim->Instance->CR2 &= ~TIM_CR2_MMS; in HAL_TIMEx_MasterConfigSynchronization()
140 htim->Instance->CR2 |= sMasterConfig->MasterOutputTrigger; in HAL_TIMEx_MasterConfigSynchronization()
143 htim->Instance->SMCR &= ~TIM_SMCR_MSM; in HAL_TIMEx_MasterConfigSynchronization()
145 htim->Instance->SMCR |= sMasterConfig->MasterSlaveMode; in HAL_TIMEx_MasterConfigSynchronization()
147 htim->State = HAL_TIM_STATE_READY; in HAL_TIMEx_MasterConfigSynchronization()
149 __HAL_UNLOCK(htim); in HAL_TIMEx_MasterConfigSynchronization()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_tim.c168 static void TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef * sSlaveConfig…
207 HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) in HAL_TIM_Base_Init() argument
210 if(htim == NULL) in HAL_TIM_Base_Init()
216 assert_param(IS_TIM_INSTANCE(htim->Instance)); in HAL_TIM_Base_Init()
217 assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); in HAL_TIM_Base_Init()
218 assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); in HAL_TIM_Base_Init()
220 if(htim->State == HAL_TIM_STATE_RESET) in HAL_TIM_Base_Init()
223 htim->Lock = HAL_UNLOCKED; in HAL_TIM_Base_Init()
226 HAL_TIM_Base_MspInit(htim); in HAL_TIM_Base_Init()
230 htim->State= HAL_TIM_STATE_BUSY; in HAL_TIM_Base_Init()
[all …]
Dstm32l1xx_hal_tim_ex.c102 HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTy… in HAL_TIMEx_MasterConfigSynchronization() argument
105 assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance)); in HAL_TIMEx_MasterConfigSynchronization()
109 __HAL_LOCK(htim); in HAL_TIMEx_MasterConfigSynchronization()
111 htim->State = HAL_TIM_STATE_BUSY; in HAL_TIMEx_MasterConfigSynchronization()
114 htim->Instance->CR2 &= ~TIM_CR2_MMS; in HAL_TIMEx_MasterConfigSynchronization()
116 htim->Instance->CR2 |= sMasterConfig->MasterOutputTrigger; in HAL_TIMEx_MasterConfigSynchronization()
119 htim->Instance->SMCR &= ~TIM_SMCR_MSM; in HAL_TIMEx_MasterConfigSynchronization()
121 htim->Instance->SMCR |= sMasterConfig->MasterSlaveMode; in HAL_TIMEx_MasterConfigSynchronization()
123 htim->State = HAL_TIM_STATE_READY; in HAL_TIMEx_MasterConfigSynchronization()
125 __HAL_UNLOCK(htim); in HAL_TIMEx_MasterConfigSynchronization()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_tim_ex.h305 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sC…
306 HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim);
308 void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim);
309 void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim);
312 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim);
313 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim);
315 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim);
316 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim);
318 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t…
319 HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim);
[all …]
Dstm32l4xx_hal_tim.h346 …void (* Base_MspInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM Base Msp Init…
347 …void (* Base_MspDeInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM Base Msp DeIn…
348 …void (* IC_MspInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM IC Msp Init C…
349 …void (* IC_MspDeInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM IC Msp DeInit…
350 …void (* OC_MspInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM OC Msp Init C…
351 …void (* OC_MspDeInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM OC Msp DeInit…
352 …void (* PWM_MspInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM PWM Msp Init …
353 …void (* PWM_MspDeInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM PWM Msp DeIni…
354 …void (* OnePulse_MspInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM One Pulse Msp…
355 …void (* OnePulse_MspDeInitCallback)(struct __TIM_HandleTypeDef *htim); /*!< TIM One Pulse Msp…
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_tim.h1397 HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim);
1398 HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim);
1399 void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim);
1400 void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim);
1402 HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim);
1403 HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim);
1405 HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim);
1406 HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim);
1408 HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length);
1409 HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim);
[all …]
Dstm32l1xx_hal_tim_ex.h162 HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTy…
163 HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap);
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_tim.h1258 HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim);
1259 HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim);
1260 void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim);
1261 void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim);
1263 HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim);
1264 HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim);
1266 HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim);
1267 HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim);
1269 HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length);
1270 HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim);
[all …]
Dstm32l0xx_hal_tim_ex.h260 HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap);
261 HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, TIM_MasterConfigTy…