Home
last modified time | relevance | path

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

/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/
A Dstm32f7xx_hal_adc.c294 ADC_Init(hadc); in HAL_ADC_Init()
406 __HAL_LOCK(hadc); in HAL_ADC_Start()
601 __HAL_LOCK(hadc); in HAL_ADC_Start_IT()
821 __HAL_LOCK(hadc); in HAL_ADC_Start_DMA()
1001 __HAL_LOCK(hadc); in HAL_ADC_ConfigChannel()
1205 hadc->Instance->CR1 |= ADC_CR1_SCANCONV(hadc->Init.ScanConvMode); in ADC_Init()
1209 hadc->Instance->CR1 |= hadc->Init.Resolution; in ADC_Init()
1213 hadc->Instance->CR2 |= hadc->Init.DataAlign; in ADC_Init()
1223 hadc->Instance->CR2 |= hadc->Init.ExternalTrigConv; in ADC_Init()
1227 hadc->Instance->CR2 |= hadc->Init.ExternalTrigConvEdge; in ADC_Init()
[all …]
A Dstm32f7xx_hal_adc_ex.c183 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedStart()
226 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedStart()
245 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedStart_IT()
297 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedStart_IT()
458 __HAL_LOCK(hadc); in HAL_ADCEx_MultiModeStart_DMA()
507 __HAL_UNLOCK(hadc); in HAL_ADCEx_MultiModeStart_DMA()
522 __HAL_LOCK(hadc); in HAL_ADCEx_MultiModeStop_DMA()
540 __HAL_UNLOCK(hadc); in HAL_ADCEx_MultiModeStop_DMA()
603 __HAL_LOCK(hadc); in HAL_ADCEx_InjectedConfigChannel()
692 __HAL_UNLOCK(hadc); in HAL_ADCEx_InjectedConfigChannel()
[all …]
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/
A Dstm32f0xx_hal_adc.c365 if(hadc == NULL) in HAL_ADC_Init()
590 if(hadc == NULL) in HAL_ADC_DeInit()
704 UNUSED(hadc); in HAL_ADC_MspInit()
719 UNUSED(hadc); in HAL_ADC_MspDeInit()
831 __HAL_LOCK(hadc); in HAL_ADC_Stop()
1162 __HAL_LOCK(hadc); in HAL_ADC_Stop_IT()
1304 __HAL_LOCK(hadc); in HAL_ADC_Stop_DMA()
1514 UNUSED(hadc); in HAL_ADC_ConvCpltCallback()
1529 UNUSED(hadc); in HAL_ADC_ConvHalfCpltCallback()
1544 UNUSED(hadc); in HAL_ADC_LevelOutOfWindowCallback()
[all …]
A Dstm32f0xx_hal_adc_ex.c120 assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); in HAL_ADCEx_Calibration_Start()
123 __HAL_LOCK(hadc); in HAL_ADCEx_Calibration_Start()
126 if (ADC_IS_ENABLE(hadc) == RESET) in HAL_ADCEx_Calibration_Start()
129 ADC_STATE_CLR_SET(hadc->State, in HAL_ADCEx_Calibration_Start()
143 hadc->Instance->CR |= ADC_CR_ADCAL; in HAL_ADCEx_Calibration_Start()
148 while(HAL_IS_BIT_SET(hadc->Instance->CR, ADC_CR_ADCAL)) in HAL_ADCEx_Calibration_Start()
153 ADC_STATE_CLR_SET(hadc->State, in HAL_ADCEx_Calibration_Start()
158 __HAL_UNLOCK(hadc); in HAL_ADCEx_Calibration_Start()
168 ADC_STATE_CLR_SET(hadc->State, in HAL_ADCEx_Calibration_Start()
175 SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG); in HAL_ADCEx_Calibration_Start()
[all …]
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/
A Dstm32f0xx_hal_adc.h896 HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc);
897 HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc);
898 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc);
899 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc);
912 HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc);
913 HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc);
918 HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc);
919 HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc);
923 HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef* hadc);
926 uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc);
[all …]
A Dstm32f0xx_hal_adc_ex.h288 HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef* hadc);
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Inc/
A Dstm32f7xx_hal_adc_ex.h213 HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc);
214 HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc);
215 HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout);
216 HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc);
217 HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc);
218 uint32_t HAL_ADCEx_InjectedGetValue(ADC_HandleTypeDef* hadc, uint32_t InjectedRank);
219 HAL_StatusTypeDef HAL_ADCEx_MultiModeStart_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t L…
220 HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef* hadc);
221 uint32_t HAL_ADCEx_MultiModeGetValue(ADC_HandleTypeDef* hadc);
222 void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc);
[all …]
A Dstm32f7xx_hal_adc.h481 HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc);
482 HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc);
483 void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc);
484 void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc);
493 HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc);
494 HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc);
499 HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc);
500 HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc);
505 HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef* hadc);
507 uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc);
[all …]

Completed in 24 milliseconds