Home
last modified time | relevance | path

Searched refs:State (Results 1 – 25 of 220) sorted by relevance

123456789

/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_uart.c270 if(huart->State == HAL_UART_STATE_RESET) in HAL_UART_Init()
279 huart->State = HAL_UART_STATE_BUSY; in HAL_UART_Init()
298 huart->State= HAL_UART_STATE_READY; in HAL_UART_Init()
323 if(huart->State == HAL_UART_STATE_RESET) in HAL_HalfDuplex_Init()
332 huart->State = HAL_UART_STATE_BUSY; in HAL_HalfDuplex_Init()
354 huart->State= HAL_UART_STATE_READY; in HAL_HalfDuplex_Init()
385 if(huart->State == HAL_UART_STATE_RESET) in HAL_LIN_Init()
394 huart->State = HAL_UART_STATE_BUSY; in HAL_LIN_Init()
419 huart->State= HAL_UART_STATE_READY; in HAL_LIN_Init()
453 if(huart->State == HAL_UART_STATE_RESET) in HAL_MultiProcessor_Init()
[all …]
Dstm32l1xx_hal_sram.c148 if(hsram->State == HAL_SRAM_STATE_RESET) in HAL_SRAM_Init()
186 hsram->State = HAL_SRAM_STATE_RESET; in HAL_SRAM_DeInit()
293 hsram->State = HAL_SRAM_STATE_BUSY; in HAL_SRAM_Read_8b()
304 hsram->State = HAL_SRAM_STATE_READY; in HAL_SRAM_Read_8b()
326 if(hsram->State == HAL_SRAM_STATE_PROTECTED) in HAL_SRAM_Write_8b()
335 hsram->State = HAL_SRAM_STATE_BUSY; in HAL_SRAM_Write_8b()
346 hsram->State = HAL_SRAM_STATE_READY; in HAL_SRAM_Write_8b()
371 hsram->State = HAL_SRAM_STATE_BUSY; in HAL_SRAM_Read_16b()
382 hsram->State = HAL_SRAM_STATE_READY; in HAL_SRAM_Read_16b()
404 if(hsram->State == HAL_SRAM_STATE_PROTECTED) in HAL_SRAM_Write_16b()
[all …]
Dstm32l1xx_hal_smartcard.c260 if(hsc->State == HAL_SMARTCARD_STATE_RESET) in HAL_SMARTCARD_Init()
269 hsc->State = HAL_SMARTCARD_STATE_BUSY; in HAL_SMARTCARD_Init()
300 hsc->State= HAL_SMARTCARD_STATE_READY; in HAL_SMARTCARD_Init()
322 hsc->State = HAL_SMARTCARD_STATE_BUSY; in HAL_SMARTCARD_DeInit()
337 hsc->State = HAL_SMARTCARD_STATE_RESET; in HAL_SMARTCARD_DeInit()
448 tmp_state = hsc->State; in HAL_SMARTCARD_Transmit()
461 if(hsc->State == HAL_SMARTCARD_STATE_BUSY_RX) in HAL_SMARTCARD_Transmit()
463 hsc->State = HAL_SMARTCARD_STATE_BUSY_TX_RX; in HAL_SMARTCARD_Transmit()
467 hsc->State = HAL_SMARTCARD_STATE_BUSY_TX; in HAL_SMARTCARD_Transmit()
488 if(hsc->State == HAL_SMARTCARD_STATE_BUSY_TX_RX) in HAL_SMARTCARD_Transmit()
[all …]
Dstm32l1xx_hal_irda.c255 if(hirda->State == HAL_IRDA_STATE_RESET) in HAL_IRDA_Init()
264 hirda->State = HAL_IRDA_STATE_BUSY; in HAL_IRDA_Init()
292 hirda->State= HAL_IRDA_STATE_READY; in HAL_IRDA_Init()
314 hirda->State = HAL_IRDA_STATE_BUSY; in HAL_IRDA_DeInit()
323 hirda->State = HAL_IRDA_STATE_RESET; in HAL_IRDA_DeInit()
439 tmp_state = hirda->State; in HAL_IRDA_Transmit()
451 if(hirda->State == HAL_IRDA_STATE_BUSY_RX) in HAL_IRDA_Transmit()
453 hirda->State = HAL_IRDA_STATE_BUSY_TX_RX; in HAL_IRDA_Transmit()
457 hirda->State = HAL_IRDA_STATE_BUSY_TX; in HAL_IRDA_Transmit()
497 if(hirda->State == HAL_IRDA_STATE_BUSY_TX_RX) in HAL_IRDA_Transmit()
[all …]
Dstm32l1xx_hal_opamp.c257 if((hopamp == NULL) || (hopamp->State == HAL_OPAMP_STATE_BUSYLOCKED) in HAL_OPAMP_Init()
258 || (hopamp->State == HAL_OPAMP_STATE_CALIBBUSY) ) in HAL_OPAMP_Init()
293 if(hopamp->State == HAL_OPAMP_STATE_RESET) in HAL_OPAMP_Init()
477 if (hopamp->State == HAL_OPAMP_STATE_RESET) in HAL_OPAMP_Init()
479 hopamp->State = HAL_OPAMP_STATE_READY; in HAL_OPAMP_Init()
501 if((hopamp == NULL) || (hopamp->State == HAL_OPAMP_STATE_CALIBBUSY)) in HAL_OPAMP_DeInit()
532 hopamp->State = HAL_OPAMP_STATE_RESET; in HAL_OPAMP_DeInit()
604 if((hopamp == NULL) || (hopamp->State == HAL_OPAMP_STATE_BUSYLOCKED)) in HAL_OPAMP_Start()
613 if(hopamp->State == HAL_OPAMP_STATE_READY) in HAL_OPAMP_Start()
620 hopamp->State = HAL_OPAMP_STATE_BUSY; in HAL_OPAMP_Start()
[all …]
Dstm32l1xx_hal_nor.c195 if(hnor->State == HAL_NOR_STATE_RESET) in HAL_NOR_Init()
227 hnor->State = HAL_NOR_STATE_READY; in HAL_NOR_Init()
247 hnor->State = HAL_NOR_STATE_RESET; in HAL_NOR_DeInit()
338 if(hnor->State == HAL_NOR_STATE_BUSY) in HAL_NOR_Read_ID()
362 hnor->State = HAL_NOR_STATE_BUSY; in HAL_NOR_Read_ID()
376 hnor->State = HAL_NOR_STATE_READY; in HAL_NOR_Read_ID()
398 if(hnor->State == HAL_NOR_STATE_BUSY) in HAL_NOR_ReturnToReadMode()
424 hnor->State = HAL_NOR_STATE_READY; in HAL_NOR_ReturnToReadMode()
448 if(hnor->State == HAL_NOR_STATE_BUSY) in HAL_NOR_Read()
472 hnor->State = HAL_NOR_STATE_BUSY; in HAL_NOR_Read()
[all …]
Dstm32l1xx_hal_cryp.c191 if(hcryp->State == HAL_CRYP_STATE_RESET) in HAL_CRYP_Init()
204 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_Init()
214 hcryp->State = HAL_CRYP_STATE_READY; in HAL_CRYP_Init()
248 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_DeInit()
264 hcryp->State = HAL_CRYP_STATE_RESET; in HAL_CRYP_DeInit()
353 if(hcryp->State != HAL_CRYP_STATE_RESET) in HAL_CRYP_AESECB_Encrypt()
356 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_AESECB_Encrypt()
384 hcryp->State = HAL_CRYP_STATE_READY; in HAL_CRYP_AESECB_Encrypt()
429 if(hcryp->State != HAL_CRYP_STATE_RESET) in HAL_CRYP_AESCBC_Encrypt()
432 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_AESCBC_Encrypt()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_sram.c149 if(hsram->State == HAL_SRAM_STATE_RESET) in HAL_SRAM_Init()
186 hsram->State = HAL_SRAM_STATE_RESET; in HAL_SRAM_DeInit()
293 hsram->State = HAL_SRAM_STATE_BUSY; in HAL_SRAM_Read_8b()
304 hsram->State = HAL_SRAM_STATE_READY; in HAL_SRAM_Read_8b()
326 if(hsram->State == HAL_SRAM_STATE_PROTECTED) in HAL_SRAM_Write_8b()
335 hsram->State = HAL_SRAM_STATE_BUSY; in HAL_SRAM_Write_8b()
346 hsram->State = HAL_SRAM_STATE_READY; in HAL_SRAM_Write_8b()
371 hsram->State = HAL_SRAM_STATE_BUSY; in HAL_SRAM_Read_16b()
382 hsram->State = HAL_SRAM_STATE_READY; in HAL_SRAM_Read_16b()
404 if(hsram->State == HAL_SRAM_STATE_PROTECTED) in HAL_SRAM_Write_16b()
[all …]
Dstm32l4xx_hal_swpmi.c272 if(hswpmi->State == HAL_SWPMI_STATE_RESET) in HAL_SWPMI_Init()
297 hswpmi->State = HAL_SWPMI_STATE_BUSY; in HAL_SWPMI_Init()
330 hswpmi->State = HAL_SWPMI_STATE_READY; in HAL_SWPMI_Init()
358 hswpmi->State = HAL_SWPMI_STATE_BUSY; in HAL_SWPMI_DeInit()
379 hswpmi->State = HAL_SWPMI_STATE_RESET; in HAL_SWPMI_DeInit()
450 if(hswpmi->State == HAL_SWPMI_STATE_READY) in HAL_SWPMI_RegisterCallback()
483 else if(hswpmi->State == HAL_SWPMI_STATE_RESET) in HAL_SWPMI_RegisterCallback()
532 if(hswpmi->State == HAL_SWPMI_STATE_READY) in HAL_SWPMI_UnRegisterCallback()
565 else if(hswpmi->State == HAL_SWPMI_STATE_RESET) in HAL_SWPMI_UnRegisterCallback()
679 tmp_state = hswpmi->State; in HAL_SWPMI_Transmit()
[all …]
Dstm32l4xx_hal_ltdc.c233 if(hltdc->State == HAL_LTDC_STATE_RESET) in HAL_LTDC_Init()
251 if(hltdc->State == HAL_LTDC_STATE_RESET) in HAL_LTDC_Init()
261 hltdc->State = HAL_LTDC_STATE_BUSY; in HAL_LTDC_Init()
304 hltdc->State = HAL_LTDC_STATE_READY; in HAL_LTDC_Init()
334 hltdc->State = HAL_LTDC_STATE_RESET; in HAL_LTDC_DeInit()
403 if(hltdc->State == HAL_LTDC_STATE_READY) in HAL_LTDC_RegisterCallback()
435 else if(hltdc->State == HAL_LTDC_STATE_RESET) in HAL_LTDC_RegisterCallback()
489 if(hltdc->State == HAL_LTDC_STATE_READY) in HAL_LTDC_UnRegisterCallback()
521 else if(hltdc->State == HAL_LTDC_STATE_RESET) in HAL_LTDC_UnRegisterCallback()
597 hltdc->State = HAL_LTDC_STATE_ERROR; in HAL_LTDC_IRQHandler()
[all …]
Dstm32l4xx_hal_rng.c184 if(hrng->State == HAL_RNG_STATE_RESET) in HAL_RNG_Init()
201 if(hrng->State == HAL_RNG_STATE_RESET) in HAL_RNG_Init()
212 hrng->State = HAL_RNG_STATE_BUSY; in HAL_RNG_Init()
223 hrng->State = HAL_RNG_STATE_READY; in HAL_RNG_Init()
270 hrng->State = HAL_RNG_STATE_RESET; in HAL_RNG_DeInit()
338 if(HAL_RNG_STATE_READY == hrng->State) in HAL_RNG_RegisterCallback()
362 else if(HAL_RNG_STATE_RESET == hrng->State) in HAL_RNG_RegisterCallback()
413 if(HAL_RNG_STATE_READY == hrng->State) in HAL_RNG_UnRegisterCallback()
437 else if(HAL_RNG_STATE_RESET == hrng->State) in HAL_RNG_UnRegisterCallback()
490 if(HAL_RNG_STATE_READY == hrng->State) in HAL_RNG_RegisterReadyDataCallback()
[all …]
Dstm32l4xx_hal_lptim.c256 if(hlptim->State == HAL_LPTIM_STATE_RESET) in HAL_LPTIM_Init()
279 hlptim->State = HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_Init()
341 hlptim->State = HAL_LPTIM_STATE_READY; in HAL_LPTIM_Init()
361 hlptim->State = HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_DeInit()
380 hlptim->State = HAL_LPTIM_STATE_RESET; in HAL_LPTIM_DeInit()
466 hlptim->State= HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_PWM_Start()
492 hlptim->State= HAL_LPTIM_STATE_READY; in HAL_LPTIM_PWM_Start()
509 hlptim->State= HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_PWM_Stop()
515 hlptim->State= HAL_LPTIM_STATE_READY; in HAL_LPTIM_PWM_Stop()
538 hlptim->State= HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_PWM_Start_IT()
[all …]
Dstm32l4xx_hal_smbus.c311 if (hsmbus->State == HAL_SMBUS_STATE_RESET) in HAL_SMBUS_Init()
338 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_Init()
399 hsmbus->State = HAL_SMBUS_STATE_READY; in HAL_SMBUS_Init()
421 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_DeInit()
441 hsmbus->State = HAL_SMBUS_STATE_RESET; in HAL_SMBUS_DeInit()
496 if (hsmbus->State == HAL_SMBUS_STATE_READY) in HAL_SMBUS_ConfigAnalogFilter()
501 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_ConfigAnalogFilter()
514 hsmbus->State = HAL_SMBUS_STATE_READY; in HAL_SMBUS_ConfigAnalogFilter()
542 if (hsmbus->State == HAL_SMBUS_STATE_READY) in HAL_SMBUS_ConfigDigitalFilter()
547 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_ConfigDigitalFilter()
[all …]
Dstm32l4xx_hal_hash.c313 if (hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
331 if(hhash->State == HAL_HASH_STATE_RESET) in HAL_HASH_Init()
342 hhash->State = HAL_HASH_STATE_BUSY; in HAL_HASH_Init()
362 hhash->State = HAL_HASH_STATE_READY; in HAL_HASH_Init()
385 hhash->State = HAL_HASH_STATE_BUSY; in HAL_HASH_DeInit()
415 hhash->State = HAL_HASH_STATE_RESET; in HAL_HASH_DeInit()
537 if(HAL_HASH_STATE_READY == hhash->State) in HAL_HASH_RegisterCallback()
569 else if(HAL_HASH_STATE_RESET == hhash->State) in HAL_HASH_RegisterCallback()
622 if(HAL_HASH_STATE_READY == hhash->State) in HAL_HASH_UnRegisterCallback()
654 else if(HAL_HASH_STATE_RESET == hhash->State) in HAL_HASH_UnRegisterCallback()
[all …]
Dstm32l4xx_hal_adc.c467 if(hadc->State == HAL_ADC_STATE_RESET) in HAL_ADC_Init()
532 SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); in HAL_ADC_Init()
546 if( ((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) == 0UL) in HAL_ADC_Init()
551 ADC_STATE_CLR_SET(hadc->State, in HAL_ADC_Init()
691 ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL, HAL_ADC_STATE_READY); in HAL_ADC_Init()
696 SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); in HAL_ADC_Init()
737 SET_BIT(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL); in HAL_ADC_DeInit()
760 hadc->State = HAL_ADC_STATE_READY; in HAL_ADC_DeInit()
911 hadc->State = HAL_ADC_STATE_RESET; in HAL_ADC_DeInit()
988 if ((hadc->State & HAL_ADC_STATE_READY) != 0UL) in HAL_ADC_RegisterCallback()
[all …]
Dstm32l4xx_hal_dfsdm.c454 hdfsdm_channel->State = HAL_DFSDM_CHANNEL_STATE_READY; in HAL_DFSDM_ChannelInit()
508 hdfsdm_channel->State = HAL_DFSDM_CHANNEL_STATE_RESET; in HAL_DFSDM_ChannelDeInit()
573 if (HAL_DFSDM_CHANNEL_STATE_READY == hdfsdm_channel->State) in HAL_DFSDM_Channel_RegisterCallback()
595 else if (HAL_DFSDM_CHANNEL_STATE_RESET == hdfsdm_channel->State) in HAL_DFSDM_Channel_RegisterCallback()
637 if (HAL_DFSDM_CHANNEL_STATE_READY == hdfsdm_channel->State) in HAL_DFSDM_Channel_UnRegisterCallback()
659 else if (HAL_DFSDM_CHANNEL_STATE_RESET == hdfsdm_channel->State) in HAL_DFSDM_Channel_UnRegisterCallback()
723 if (hdfsdm_channel->State != HAL_DFSDM_CHANNEL_STATE_READY) in HAL_DFSDM_ChannelCkabStart()
776 if (hdfsdm_channel->State != HAL_DFSDM_CHANNEL_STATE_READY) in HAL_DFSDM_ChannelPollForCkab()
825 if (hdfsdm_channel->State != HAL_DFSDM_CHANNEL_STATE_READY) in HAL_DFSDM_ChannelCkabStop()
862 if (hdfsdm_channel->State != HAL_DFSDM_CHANNEL_STATE_READY) in HAL_DFSDM_ChannelCkabStart_IT()
[all …]
Dstm32l4xx_hal_rtc_ex.c228 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetTimeStamp()
247 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetTimeStamp()
287 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetTimeStamp_IT()
312 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetTimeStamp_IT()
332 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_DeactivateTimeStamp()
349 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_DeactivateTimeStamp()
368 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetInternalTimeStamp()
380 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetInternalTimeStamp()
398 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_DeactivateInternalTimeStamp()
409 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_DeactivateInternalTimeStamp()
[all …]
Dstm32l4xx_hal_i2c_ex.c119 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_ConfigAnalogFilter()
124 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_ConfigAnalogFilter()
137 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_ConfigAnalogFilter()
165 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_ConfigDigitalFilter()
170 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_ConfigDigitalFilter()
189 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_ConfigDigitalFilter()
213 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_EnableWakeUp()
218 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_EnableWakeUp()
228 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_EnableWakeUp()
252 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_DisableWakeUp()
[all …]
Dstm32l4xx_hal_nor.c188 if(hnor->State == HAL_NOR_STATE_RESET) in HAL_NOR_Init()
219 hnor->State = HAL_NOR_STATE_READY; in HAL_NOR_Init()
239 hnor->State = HAL_NOR_STATE_RESET; in HAL_NOR_DeInit()
330 if(hnor->State == HAL_NOR_STATE_BUSY) in HAL_NOR_Read_ID()
354 hnor->State = HAL_NOR_STATE_BUSY; in HAL_NOR_Read_ID()
368 hnor->State = HAL_NOR_STATE_READY; in HAL_NOR_Read_ID()
390 if(hnor->State == HAL_NOR_STATE_BUSY) in HAL_NOR_ReturnToReadMode()
416 hnor->State = HAL_NOR_STATE_READY; in HAL_NOR_ReturnToReadMode()
440 if(hnor->State == HAL_NOR_STATE_BUSY) in HAL_NOR_Read()
464 hnor->State = HAL_NOR_STATE_BUSY; in HAL_NOR_Read()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_lptim.c194 if(hlptim->State == HAL_LPTIM_STATE_RESET) in HAL_LPTIM_Init()
204 hlptim->State = HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_Init()
247 hlptim->State = HAL_LPTIM_STATE_READY; in HAL_LPTIM_Init()
267 hlptim->State = HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_DeInit()
276 hlptim->State = HAL_LPTIM_STATE_RESET; in HAL_LPTIM_DeInit()
362 hlptim->State= HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_PWM_Start()
380 hlptim->State= HAL_LPTIM_STATE_READY; in HAL_LPTIM_PWM_Start()
397 hlptim->State= HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_PWM_Stop()
403 hlptim->State= HAL_LPTIM_STATE_READY; in HAL_LPTIM_PWM_Stop()
426 hlptim->State= HAL_LPTIM_STATE_BUSY; in HAL_LPTIM_PWM_Start_IT()
[all …]
Dstm32l0xx_hal_smbus.c253 if (hsmbus->State == HAL_SMBUS_STATE_RESET) in HAL_SMBUS_Init()
262 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_Init()
323 hsmbus->State = HAL_SMBUS_STATE_READY; in HAL_SMBUS_Init()
345 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_DeInit()
355 hsmbus->State = HAL_SMBUS_STATE_RESET; in HAL_SMBUS_DeInit()
410 if (hsmbus->State == HAL_SMBUS_STATE_READY) in HAL_SMBUS_ConfigAnalogFilter()
415 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_ConfigAnalogFilter()
428 hsmbus->State = HAL_SMBUS_STATE_READY; in HAL_SMBUS_ConfigAnalogFilter()
456 if (hsmbus->State == HAL_SMBUS_STATE_READY) in HAL_SMBUS_ConfigDigitalFilter()
461 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUS_ConfigDigitalFilter()
[all …]
Dstm32l0xx_hal_rng.c129 if(hrng->State == HAL_RNG_STATE_RESET) in HAL_RNG_Init()
139 hrng->State = HAL_RNG_STATE_BUSY; in HAL_RNG_Init()
145 hrng->State = HAL_RNG_STATE_READY; in HAL_RNG_Init()
175 hrng->State = HAL_RNG_STATE_RESET; in HAL_RNG_DeInit()
253 if(hrng->State == HAL_RNG_STATE_READY) in HAL_RNG_GenerateRandomNumber()
256 hrng->State = HAL_RNG_STATE_BUSY; in HAL_RNG_GenerateRandomNumber()
266 hrng->State = HAL_RNG_STATE_ERROR; in HAL_RNG_GenerateRandomNumber()
279 hrng->State = HAL_RNG_STATE_READY; in HAL_RNG_GenerateRandomNumber()
305 if(hrng->State == HAL_RNG_STATE_READY) in HAL_RNG_GenerateRandomNumber_IT()
308 hrng->State = HAL_RNG_STATE_BUSY; in HAL_RNG_GenerateRandomNumber_IT()
[all …]
Dstm32l0xx_hal_rtc_ex.c180 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetTimeStamp()
199 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetTimeStamp()
235 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetTimeStamp_IT()
261 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetTimeStamp_IT()
281 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_DeactivateTimeStamp()
298 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_DeactivateTimeStamp()
387 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetTamper()
507 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetTamper()
541 hrtc->State = HAL_RTC_STATE_BUSY; in HAL_RTCEx_SetTamper_IT()
666 hrtc->State = HAL_RTC_STATE_READY; in HAL_RTCEx_SetTamper_IT()
[all …]
Dstm32l0xx_hal_i2c_ex.c119 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_ConfigAnalogFilter()
124 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_ConfigAnalogFilter()
137 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_ConfigAnalogFilter()
165 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_ConfigDigitalFilter()
170 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_ConfigDigitalFilter()
189 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_ConfigDigitalFilter()
213 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_EnableWakeUp()
218 hi2c->State = HAL_I2C_STATE_BUSY; in HAL_I2CEx_EnableWakeUp()
228 hi2c->State = HAL_I2C_STATE_READY; in HAL_I2CEx_EnableWakeUp()
252 if (hi2c->State == HAL_I2C_STATE_READY) in HAL_I2CEx_DisableWakeUp()
[all …]
Dstm32l0xx_hal_cryp.c190 if(hcryp->State == HAL_CRYP_STATE_RESET) in HAL_CRYP_Init()
203 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_Init()
213 hcryp->State = HAL_CRYP_STATE_READY; in HAL_CRYP_Init()
247 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_DeInit()
263 hcryp->State = HAL_CRYP_STATE_RESET; in HAL_CRYP_DeInit()
352 if(hcryp->State != HAL_CRYP_STATE_RESET) in HAL_CRYP_AESECB_Encrypt()
355 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_AESECB_Encrypt()
383 hcryp->State = HAL_CRYP_STATE_READY; in HAL_CRYP_AESECB_Encrypt()
428 if(hcryp->State != HAL_CRYP_STATE_RESET) in HAL_CRYP_AESCBC_Encrypt()
431 hcryp->State = HAL_CRYP_STATE_BUSY; in HAL_CRYP_AESCBC_Encrypt()
[all …]

123456789