Home
last modified time | relevance | path

Searched refs:hadc (Results 1 – 25 of 53) sorted by relevance

123

/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_hal_adc.c506 hadc->MspInitCallback(hadc); in HAL_ADC_Init()
804 hadc->MspDeInitCallback(hadc); in HAL_ADC_DeInit()
833 UNUSED(hadc); in HAL_ADC_MspInit()
848 UNUSED(hadc); in HAL_ADC_MspDeInit()
1740 hadc->ConvCpltCallback(hadc); in HAL_ADC_IRQHandler()
1786 hadc->InjectedConvCpltCallback(hadc); in HAL_ADC_IRQHandler()
1805 hadc->LevelOutOfWindowCallback(hadc); in HAL_ADC_IRQHandler()
1831 hadc->ErrorCallback(hadc); in HAL_ADC_IRQHandler()
2342 hadc->ConvCpltCallback(hadc); in ADC_DMAConvCplt()
2366 hadc->ConvHalfCpltCallback(hadc); in ADC_DMAHalfConvCplt()
[all …]
A Dstm32l1xx_hal_adc_ex.c119 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedStart()
147 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedStart()
191 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedStop()
224 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedStop()
387 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedStart_IT()
415 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedStart_IT()
462 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedStop_IT()
498 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedStop_IT()
570 UNUSED(hadc); in HAL_ADCEx_InjectedConvCpltCallback()
635 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedConfigChannel()
[all …]
/bsp/acm32/acm32f4xx-nucleo/libraries/HAL_Driver/Src/
A DHAL_ADC.c48 hadc->InjectedConvCpltCallback(hadc); in HAL_ADC_IRQHandler()
62 hadc->ConvCpltCallback(hadc); in HAL_ADC_IRQHandler()
76 hadc->LevelOutOfWindowCallback(hadc); in HAL_ADC_IRQHandler()
97 hadc->GroupCpltCallback(hadc); in HAL_ADC_IRQHandler()
178 if(hadc->Init.DMAMode) in HAL_ADC_MspDeInit()
205 if (hadc == NULL) in HAL_ADC_Init()
289 if (hadc == NULL) in HAL_ADC_DeInit()
296 hadc->ChannelNum = 0; in HAL_ADC_DeInit()
300 memset(&hadc->Init, 0, sizeof(hadc->Init)); in HAL_ADC_DeInit()
879 *hadc->AdcResults = hadc->Instance->DR | HAL_ADC_EOC_FLAG; in HAL_ADC_Polling()
[all …]
/bsp/acm32/acm32f0x0-nucleo/libraries/HAL_Driver/Src/
A DHAL_ADC.c48 hadc->InjectedConvCpltCallback(hadc); in HAL_ADC_IRQHandler()
62 hadc->ConvCpltCallback(hadc); in HAL_ADC_IRQHandler()
76 hadc->LevelOutOfWindowCallback(hadc); in HAL_ADC_IRQHandler()
97 hadc->GroupCpltCallback(hadc); in HAL_ADC_IRQHandler()
259 if (hadc == NULL) in HAL_ADC_Init()
343 if (hadc == NULL) in HAL_ADC_DeInit()
354 memset(&hadc->Init, 0, sizeof(hadc->Init)); in HAL_ADC_DeInit()
411 MODIFY_REG(hadc->Instance->SQR1,ADC_SQR1_L,(hadc->ChannelNum-1)); in HAL_ADC_ConfigChannel()
938 *hadc->AdcResults = hadc->Instance->DR | HAL_ADC_EOC_FLAG; in HAL_ADC_Polling()
946 *hadc->AdcResults = hadc->Instance->JDR | HAL_ADC_JEOC_FLAG; in HAL_ADC_Polling()
[all …]
/bsp/acm32/acm32f4xx-nucleo/libraries/HAL_Driver/Inc/
A DHAL_ADC.h612 void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc);
613 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc);
614 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc);
615 HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc);
616 HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef* hadc);
619 HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc);
620 HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc);
621 HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc);
622 HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc);
625 uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef *hadc);
[all …]
/bsp/acm32/acm32f0x0-nucleo/libraries/HAL_Driver/Inc/
A DHAL_ADC.h613 void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc);
614 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc);
615 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc);
616 HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc);
617 HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef* hadc);
620 HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc);
621 HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc);
622 HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc);
623 HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc);
626 uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef *hadc);
[all …]
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/
A Dstm32l1xx_hal_adc.h1264 HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc);
1265 HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc);
1266 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc);
1287 HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc);
1288 HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc);
1293 HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc);
1294 HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc);
1298 HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef* hadc);
1301 uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc);
1329 uint32_t HAL_ADC_GetState(ADC_HandleTypeDef* hadc);
[all …]
A Dstm32l1xx_hal_adc_ex.h523 HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc);
524 HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc);
525 HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeo…
528 HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc);
529 HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc);
532 uint32_t HAL_ADCEx_InjectedGetValue(ADC_HandleTypeDef* hadc, uint32_t InjectedRank);
535 void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc);
546 HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc,ADC_InjectionConfTy…
/bsp/stm32/stm32f401-weact-blackpill/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c87 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
90 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
134 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
136 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f410-st-nucleo/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c90 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
93 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
140 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
142 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32g474-st-nucleo/board/CubeMX_Config/Src/
A Dstm32g4xx_hal_msp.c94 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
98 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
148 else if(hadc->Instance==ADC2) in HAL_ADC_MspInit()
191 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
193 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
221 else if(hadc->Instance==ADC2) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f103-atk-nano/board/CubeMX_Config/Src/
A Dstm32f1xx_hal_msp.c112 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
116 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
146 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
149 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f411-atk-nano/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c106 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
110 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
141 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
144 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f103-100ask-pro/board/CubeMX_Config/Src/
A Dstm32f1xx_hal_msp.c91 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
94 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
114 else if(hadc->Instance==ADC2) in HAL_ADC_MspInit()
134 else if(hadc->Instance==ADC3) in HAL_ADC_MspInit()
163 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
165 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
182 else if(hadc->Instance==ADC2) in HAL_ADC_MspDeInit()
199 else if(hadc->Instance==ADC3) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f407-robomaster-c/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c88 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
91 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
102 else if(hadc->Instance==ADC3) in HAL_ADC_MspInit()
132 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
134 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
145 else if(hadc->Instance==ADC3) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f103-keysking-learning/board/CubeMX_Config/Src/
A Dstm32f1xx_hal_msp.c91 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
94 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
124 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
126 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f091-st-nucleo/board/CubeMX_Config/Src/
A Dstm32f0xx_hal_msp.c108 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
111 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
141 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
143 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f072-st-nucleo/board/CubeMX_Config/Src/
A Dstm32f0xx_hal_msp.c108 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
111 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
158 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
160 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f412-st-nucleo/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c108 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
111 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
153 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
155 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32h563-st-nucleo/board/CubeMX_Config/Src/
A Dstm32h5xx_hal_msp.c87 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
91 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
132 else if(hadc->Instance==ADC2) in HAL_ADC_MspInit()
191 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
193 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
216 else if(hadc->Instance==ADC2) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f103-hw100k-ibox/board/CubeMX_Config/Src/
A Dstm32f1xx_hal_msp.c110 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
114 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
145 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
148 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32wb55-st-nucleo/board/CubeMX_Config/Src/
A Dstm32wbxx_hal_msp.c83 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
86 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
116 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
118 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f103-blue-pill/board/CubeMX_Config/Src/
A Dstm32f1xx_hal_msp.c92 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
95 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
129 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
131 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f401-st-nucleo/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c108 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
111 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
158 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
160 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()
/bsp/stm32/stm32f411-weact-blackpill/board/CubeMX_Config/Src/
A Dstm32f4xx_hal_msp.c88 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspInit() argument
91 if(hadc->Instance==ADC1) in HAL_ADC_MspInit()
135 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) in HAL_ADC_MspDeInit() argument
137 if(hadc->Instance==ADC1) in HAL_ADC_MspDeInit()

Completed in 759 milliseconds

123