Home
last modified time | relevance | path

Searched refs:tmp_hal_status (Results 1 – 25 of 46) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_adc_ex.c135 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
152 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
155 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
209 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_Calibration_Start()
211 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
220 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
280 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
294 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_GetValue() local
302tmp_hal_status = ADC_Enable(hadc); /* ADC need to be enabled to perform calibration for ADC1/2 and… in HAL_ADCEx_Calibration_GetValue()
305 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_GetValue()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_adc_ex.c121 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
134 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
137 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
182 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
216 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
249 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
256 return tmp_hal_status; in HAL_ADCEx_Calibration_SetValue()
272 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_InjectedStart() local
308 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
311 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_adc_ex.c126 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
139 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
142 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
184 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
214 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_LinearCalibration_GetValue() local
223 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_LinearCalibration_GetValue()
226 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_LinearCalibration_GetValue()
243 return tmp_hal_status; in HAL_ADCEx_LinearCalibration_GetValue()
259 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
292 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
[all …]
Dstm32mp1xx_hal_adc.c395 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
508 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
676 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
679 return tmp_hal_status; in HAL_ADC_Init()
702 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
717 tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP); in HAL_ADC_DeInit()
728 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
731 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
734 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
897 return tmp_hal_status; in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_adc_ex.c121 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
134 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
137 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
182 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
216 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
249 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
256 return tmp_hal_status; in HAL_ADCEx_Calibration_SetValue()
272 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_InjectedStart() local
308 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
311 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_adc_ex.c128 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
141 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
144 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
189 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
223 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
256 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
263 return tmp_hal_status; in HAL_ADCEx_Calibration_SetValue()
279 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_InjectedStart() local
315 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
318 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_adc_ex.c128 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
141 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
144 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
189 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
219 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_LinearCalibration_GetValue() local
228 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_LinearCalibration_GetValue()
231 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_LinearCalibration_GetValue()
248 return tmp_hal_status; in HAL_ADCEx_LinearCalibration_GetValue()
265 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
310 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_adc_ex.c136 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
150 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_Calibration_Start()
154 && (tmp_hal_status == HAL_OK)) in HAL_ADCEx_Calibration_Start()
179 tmp_hal_status = ADC_Calibration_MeasureOffset(hadc, ADC_SINGLE_ENDED, &calibration_factor); in HAL_ADCEx_Calibration_Start()
181 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
193tmp_hal_status = ADC_Calibration_MeasureOffset(hadc, ADC_DIFFERENTIAL_ENDED, &calibration_factor); in HAL_ADCEx_Calibration_Start()
195 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
208tmp_hal_status = ADC_Calibration_MeasureOffset(hadc, ADC_SINGLE_ENDED, &calibration_factor); in HAL_ADCEx_Calibration_Start()
210 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
277 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
[all …]
Dstm32n6xx_hal_adc.c405 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
637 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
640 return tmp_hal_status; in HAL_ADC_Init()
663 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
678 tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP); in HAL_ADC_DeInit()
681 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
684 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
687 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
859 return tmp_hal_status; in HAL_ADC_DeInit()
1166 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_Start() local
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_adc_ex.c123 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
136 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
139 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
184 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
218 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
251 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
258 return tmp_hal_status; in HAL_ADCEx_Calibration_SetValue()
274 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_InjectedStart() local
310 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
313 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_adc_ex.c123 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
136 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
139 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
184 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
218 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
251 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
258 return tmp_hal_status; in HAL_ADCEx_Calibration_SetValue()
274 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_InjectedStart() local
310 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
313 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_adc_ex.c139 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_Calibration_Start() local
152 tmp_hal_status = ADC_Disable(hadc); in HAL_ADCEx_Calibration_Start()
155 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
283 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
332 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_SetValue() local
381 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_Calibration_SetValue()
388 return tmp_hal_status; in HAL_ADCEx_Calibration_SetValue()
402 HAL_StatusTypeDef tmp_hal_status; in HAL_ADCEx_InjectedStart() local
435 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
438 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
[all …]
Dstm32wbxx_hal_adc.c400 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
542 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
747 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
895 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
899 return tmp_hal_status; in HAL_ADC_Init()
922 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
938 tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_GROUP); in HAL_ADC_DeInit()
940 tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP); in HAL_ADC_DeInit()
956 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
959 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_adc_ex.c229 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
318 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_Init()
324 (tmp_hal_status == HAL_OK) ) in HAL_ADC_Init()
362 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
372 (tmp_hal_status == HAL_OK) && in HAL_ADC_Init()
529 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
534 return tmp_hal_status; in HAL_ADC_Init()
567 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
636 tmp_hal_status = ADC_ConversionStop_Disable(hadc); in HAL_ADC_Init()
642 (tmp_hal_status == HAL_OK) ) in HAL_ADC_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_hal_adc.c315 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
471 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
475 return tmp_hal_status; in HAL_ADC_Init()
486 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
501 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
504 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
507 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
510 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
666 return tmp_hal_status; in HAL_ADC_DeInit()
926 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_Start() local
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_adc_ex.c121 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_Calibration_Start() local
132 tmp_hal_status = ADC_ConversionStop_Disable(hadc); in HAL_ADCEx_Calibration_Start()
136 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_Calibration_Start()
139 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_Calibration_Start()
220 return tmp_hal_status; in HAL_ADCEx_Calibration_Start()
231 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_InjectedStart() local
240 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
243 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
313 return tmp_hal_status; in HAL_ADCEx_InjectedStart()
330 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_InjectedStop() local
[all …]
Dstm32f1xx_hal_adc.c413 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
482 tmp_hal_status = ADC_ConversionStop_Disable(hadc); in HAL_ADC_Init()
488 (tmp_hal_status == HAL_OK) ) in HAL_ADC_Init()
605 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
614 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
618 return tmp_hal_status; in HAL_ADC_Init()
631 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_DeInit() local
647 tmp_hal_status = ADC_ConversionStop_Disable(hadc); in HAL_ADC_DeInit()
652 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
769 return tmp_hal_status; in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_adc.c399 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
466 (tmp_hal_status == HAL_OK) && in HAL_ADC_Init()
610 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
619 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
623 return tmp_hal_status; in HAL_ADC_Init()
641 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_DeInit() local
656 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
659 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
662 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
665 if (tmp_hal_status != HAL_ERROR) in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_adc.c389 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
499 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
708 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
717 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
721 return tmp_hal_status; in HAL_ADC_Init()
744 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
759 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
762 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
765 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
768 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_adc.c381 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
493 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
703 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
712 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
715 return tmp_hal_status; in HAL_ADC_Init()
735 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
750 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
753 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
756 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
759 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_adc.c381 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
493 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
698 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
707 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
710 return tmp_hal_status; in HAL_ADC_Init()
730 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
745 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
748 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
751 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
754 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_adc.c641 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_DeInit() local
656 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
659 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
662 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
665 if (tmp_hal_status != HAL_ERROR) in HAL_ADC_DeInit()
675 if (tmp_hal_status != HAL_ERROR) in HAL_ADC_DeInit()
762 return tmp_hal_status; in HAL_ADC_DeInit()
1025 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Start() local
1041 tmp_hal_status = ADC_Enable(hadc); in HAL_ADC_Start()
1045 if (tmp_hal_status == HAL_OK) in HAL_ADC_Start()
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_adc.c382 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
497 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
707 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
716 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
719 return tmp_hal_status; in HAL_ADC_Init()
739 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
754 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
757 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
760 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
763 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_adc.c381 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADC_Init() local
508 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
727 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
736 tmp_hal_status = HAL_ERROR; in HAL_ADC_Init()
739 return tmp_hal_status; in HAL_ADC_Init()
762 HAL_StatusTypeDef tmp_hal_status; in HAL_ADC_DeInit() local
777 tmp_hal_status = ADC_ConversionStop(hadc); in HAL_ADC_DeInit()
780 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
783 tmp_hal_status = ADC_Disable(hadc); in HAL_ADC_DeInit()
786 if (tmp_hal_status == HAL_OK) in HAL_ADC_DeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_adc_ex.c108 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_InjectedStart() local
117 tmp_hal_status = ADC_Enable(hadc); in HAL_ADCEx_InjectedStart()
120 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStart()
163 return tmp_hal_status; in HAL_ADCEx_InjectedStart()
180 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_InjectedStop() local
199 tmp_hal_status = ADC_ConversionStop_Disable(hadc); in HAL_ADCEx_InjectedStop()
202 if (tmp_hal_status == HAL_OK) in HAL_ADCEx_InjectedStop()
215 tmp_hal_status = HAL_ERROR; in HAL_ADCEx_InjectedStop()
222 return tmp_hal_status; in HAL_ADCEx_InjectedStop()
376 HAL_StatusTypeDef tmp_hal_status = HAL_OK; in HAL_ADCEx_InjectedStart_IT() local
[all …]

12