| /bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Inc/ |
| A D | fm33lc0xx_fl_adc.h | 429 WRITE_REG(ADCx->ISR, ADC_ISR_EOC_Msk); in FL_ADC_ClearFlag_EndOfConversion() 451 WRITE_REG(ADCx->ISR, ADC_ISR_EOS_Msk); in FL_ADC_ClearFlag_EndOfSequence() 473 WRITE_REG(ADCx->ISR, ADC_ISR_OVR_Msk); in FL_ADC_ClearFlag_Overrun() 539 SET_BIT(ADCx->IER, ADC_IER_EOCIE_Msk); in FL_ADC_EnableIT_EndOfConversion() 572 SET_BIT(ADCx->IER, ADC_IER_EOSIE_Msk); in FL_ADC_EnableIT_EndOfSequence() 605 SET_BIT(ADCx->IER, ADC_IER_OVRIE_Msk); in FL_ADC_EnableIT_Overrun() 704 SET_BIT(ADCx->CR, ADC_CR_ADEN_Msk); in FL_ADC_Enable() 715 CLEAR_BIT(ADCx->CR, ADC_CR_ADEN_Msk); in FL_ADC_Disable() 737 SET_BIT(ADCx->CR, ADC_CR_START_Msk); in FL_ADC_EnableSWConversion() 930 SET_BIT(ADCx->CFGR, ADC_CFGR_OVRM_Msk); in FL_ADC_EnableOverrunMode() [all …]
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/ |
| A D | hk32f0xx_adc.c | 100 void ADC_DeInit(ADC_TypeDef *ADCx) in ADC_DeInit() argument 105 if (ADCx == ADC1) in ADC_DeInit() 140 tmpreg = ADCx->CFGR1; in ADC_Init() 159 ADCx->CFGR1 = tmpreg; in ADC_Init() 473 tmpreg = ADCx->CFGR1; in ADC_AnalogWatchdogSingleChannelConfig() 482 ADCx->CFGR1 = tmpreg; in ADC_AnalogWatchdogSingleChannelConfig() 703 ADCx->SMPR = tmpreg ; in ADC_ChannelConfig() 815 tmpreg = ADCx->DR; in ADC_GetCalibrationFactor() 884 ADCx->ISR |= ADC_ISR_OVR; in ADC_GetConversionValue() 1072 ADCx->IER |= ADC_IT; in ADC_ITConfig() [all …]
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/ |
| A D | n32l43x_adc.c | 198 if (ADCx == ADC) in ADC_DeInit() 228 tmpreg1 = ADCx->CTRL1; in ADC_Init() 236 ADCx->CTRL1 = tmpreg1; in ADC_Init() 240 tmpreg1 = ADCx->CTRL2; in ADC_Init() 250 ADCx->CTRL2 = tmpreg1; in ADC_Init() 254 tmpreg1 = ADCx->RSEQ1; in ADC_Init() 262 ADCx->RSEQ1 = tmpreg1; in ADC_Init() 372 if (ADCx->CALFACT==0) in ADC_StartCalibration() 397 if (ADCx->CALFACT!=0) in ADC_GetCalibrationStatus() 468 tmpreg1 = ADCx->CTRL1; in ADC_ConfigDiscModeChannelCount() [all …]
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/ |
| A D | n32l40x_adc.c | 198 if (ADCx == ADC) in ADC_DeInit() 228 tmpreg1 = ADCx->CTRL1; in ADC_Init() 236 ADCx->CTRL1 = tmpreg1; in ADC_Init() 240 tmpreg1 = ADCx->CTRL2; in ADC_Init() 250 ADCx->CTRL2 = tmpreg1; in ADC_Init() 254 tmpreg1 = ADCx->RSEQ1; in ADC_Init() 262 ADCx->RSEQ1 = tmpreg1; in ADC_Init() 372 if (ADCx->CALFACT==0) in ADC_StartCalibration() 397 if (ADCx->CALFACT!=0) in ADC_GetCalibrationStatus() 468 tmpreg1 = ADCx->CTRL1; in ADC_ConfigDiscModeChannelCount() [all …]
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/ |
| A D | n32g43x_adc.c | 198 if (ADCx == ADC) in ADC_DeInit() 228 tmpreg1 = ADCx->CTRL1; in ADC_Init() 236 ADCx->CTRL1 = tmpreg1; in ADC_Init() 240 tmpreg1 = ADCx->CTRL2; in ADC_Init() 250 ADCx->CTRL2 = tmpreg1; in ADC_Init() 254 tmpreg1 = ADCx->RSEQ1; in ADC_Init() 262 ADCx->RSEQ1 = tmpreg1; in ADC_Init() 372 if (ADCx->CALFACT==0) in ADC_StartCalibration() 397 if (ADCx->CALFACT!=0) in ADC_GetCalibrationStatus() 468 tmpreg1 = ADCx->CTRL1; in ADC_ConfigDiscModeChannelCount() [all …]
|
| /bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/src/ |
| A D | HAL_adc.c | 186 tmpreg1 = ADCx->ADCFG; in ADC_Init() 192 ADCx->ADCFG = tmpreg1; in ADC_Init() 196 tmpreg1 = ADCx->ADCR; in ADC_Init() 208 ADCx->ADCR = tmpreg1; in ADC_Init() 392 tmpreg = ADCx->ADCFG; in ADC_RegularChannelConfig() 395 ADCx->ADCFG = tmpreg; in ADC_RegularChannelConfig() 519 tmpreg = ADCx->ADCR; in ADC_ExternalTrigInjectedConvConfig() 525 ADCx->ADCR = tmpreg; in ADC_ExternalTrigInjectedConvConfig() 636 tmpreg = ADCx->ADCR; in ADC_AnalogWatchdogSingleChannelConfig() 642 ADCx->ADCR = tmpreg; in ADC_AnalogWatchdogSingleChannelConfig() [all …]
|
| /bsp/mm32/libraries/MM32F3270_HAL/MM32F3270_HAL_Driver/Src/ |
| A D | hal_adc.c | 29 ADCx->ADCFG = cfg; in ADC_Init() 31 ADCx->ADCR = (ADCx->ADCR & ~( ADC_ADCR_ADMD_MASK | ADC_ADCR_ALIGN_MASK) ) in ADC_Init() 41 ADCx->ADCFG |= ADC_ADCFG_ADEN_MASK; in ADC_Enable() 78 ADCx->ADCR |= ADC_ADCR_DMAEN_MASK; in ADC_EnableDMA() 128 uint32_t ADC_GetStatus(ADC_Type * ADCx) in ADC_GetStatus() argument 175 uint32_t tmp32 = ADCx->ADDATA; in ADC_GetConvResult() 202 ADCx->SMPR1 = (ADCx->SMPR1 & ~(0xF << (4u * channel))) | (sample_time << (4u * channel)); in ADC_SetChnSampleTime() 207 ADCx->SMPR2 = (ADCx->SMPR2 & ~(0xF << (4u * channel))) | (sample_time << (4u * channel)); in ADC_SetChnSampleTime() 238 ADCx->ADCHS = conf->SeqSlots; in ADC_EnableRegSeq() 239 ADCx->ADCR = (ADCx->ADCR & ~ADC_ADCR_SCANDIR_MASK) in ADC_EnableRegSeq() [all …]
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_adc.c | 196 if (ADCx == ADC1) in ADC_DeInit() 203 else if (ADCx == ADC2) in ADC_DeInit() 210 else if (ADCx == ADC3) in ADC_DeInit() 219 if (ADCx == ADC4) in ADC_DeInit() 251 tmpreg1 = ADCx->CTRL1; in ADC_Init() 259 ADCx->CTRL1 = tmpreg1; in ADC_Init() 263 tmpreg1 = ADCx->CTRL2; in ADC_Init() 273 ADCx->CTRL2 = tmpreg1; in ADC_Init() 396 if (ADCx->CALFACT==0) in ADC_StartCalibration() 421 if (ADCx->CALFACT!=0) in ADC_GetCalibrationStatus() [all …]
|
| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/ |
| A D | n32g4fr_adc.c | 199 if (ADCx == ADC1) in ADC_DeInit() 206 else if (ADCx == ADC2) in ADC_DeInit() 237 tmpreg1 = ADCx->CTRL1; in ADC_Init() 245 ADCx->CTRL1 = tmpreg1; in ADC_Init() 249 tmpreg1 = ADCx->CTRL2; in ADC_Init() 259 ADCx->CTRL2 = tmpreg1; in ADC_Init() 263 tmpreg1 = ADCx->RSEQ1; in ADC_Init() 271 ADCx->RSEQ1 = tmpreg1; in ADC_Init() 384 if(ADCx->CALFACT==0) in ADC_StartCalibration() 409 if(ADCx->CALFACT!=0) in ADC_GetCalibrationStatus() [all …]
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/ |
| A D | n32wb452_adc.c | 199 if (ADCx == ADC1) in ADC_DeInit() 206 else if (ADCx == ADC2) in ADC_DeInit() 237 tmpreg1 = ADCx->CTRL1; in ADC_Init() 245 ADCx->CTRL1 = tmpreg1; in ADC_Init() 249 tmpreg1 = ADCx->CTRL2; in ADC_Init() 259 ADCx->CTRL2 = tmpreg1; in ADC_Init() 263 tmpreg1 = ADCx->RSEQ1; in ADC_Init() 271 ADCx->RSEQ1 = tmpreg1; in ADC_Init() 383 if (ADCx->CALFACT==0) in ADC_StartCalibration() 408 if (ADCx->CALFACT!=0) in ADC_GetCalibrationStatus() [all …]
|
| /bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/ |
| A D | air32f10x_adc.c | 159 if (ADCx == ADC1) in ADC_DeInit() 166 else if (ADCx == ADC2) in ADC_DeInit() 175 if (ADCx == ADC3) in ADC_DeInit() 208 tmpreg1 = ADCx->CR1; in ADC_Init() 216 ADCx->CR1 = tmpreg1; in ADC_Init() 220 tmpreg1 = ADCx->CR2; in ADC_Init() 230 ADCx->CR2 = tmpreg1; in ADC_Init() 234 tmpreg1 = ADCx->SQR1; in ADC_Init() 242 ADCx->SQR1 = tmpreg1; in ADC_Init() 781 tmpreg = ADCx->CR2; in ADC_ExternalTrigInjectedConvConfig() [all …]
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_adc.c | 193 if (ADCx == ADC1) in ADC_DeInit() 200 else if (ADCx == ADC2) in ADC_DeInit() 207 else if (ADCx == ADC3) in ADC_DeInit() 216 if (ADCx == ADC4) in ADC_DeInit() 248 tmpreg1 = ADCx->CTRL1; in ADC_Init() 256 ADCx->CTRL1 = tmpreg1; in ADC_Init() 260 tmpreg1 = ADCx->CTRL2; in ADC_Init() 270 ADCx->CTRL2 = tmpreg1; in ADC_Init() 274 tmpreg1 = ADCx->RSEQ1; in ADC_Init() 282 ADCx->RSEQ1 = tmpreg1; in ADC_Init() [all …]
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/ |
| A D | HAL_adc.c | 184 tmpreg1 = ADCx->ADCFG; in ADC_Init() 191 ADCx->ADCFG = tmpreg1; in ADC_Init() 195 tmpreg1 = ADCx->ADCR; in ADC_Init() 207 ADCx->ADCR = tmpreg1; in ADC_Init() 393 tmpreg = ADCx->ADCFG; in ADC_RegularChannelConfig() 528 tmpreg = ADCx->ADCR; in ADC_ExternalTrigInjectedConvConfig() 534 ADCx->ADCR = tmpreg; in ADC_ExternalTrigInjectedConvConfig() 582 tmpreg = ADCx->ADCFG; in ADC_AnalogWatchdogCmd() 588 ADCx->ADCFG = tmpreg; in ADC_AnalogWatchdogCmd() 639 tmpreg = ADCx->ADCR; in ADC_AnalogWatchdogSingleChannelConfig() [all …]
|
| /bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/ |
| A D | HAL_adc.c | 184 tmpreg1 = ADCx->ADCFG; in ADC_Init() 191 ADCx->ADCFG = tmpreg1; in ADC_Init() 195 tmpreg1 = ADCx->ADCR; in ADC_Init() 207 ADCx->ADCR = tmpreg1; in ADC_Init() 393 tmpreg = ADCx->ADCFG; in ADC_RegularChannelConfig() 528 tmpreg = ADCx->ADCR; in ADC_ExternalTrigInjectedConvConfig() 534 ADCx->ADCR = tmpreg; in ADC_ExternalTrigInjectedConvConfig() 582 tmpreg = ADCx->ADCFG; in ADC_AnalogWatchdogCmd() 588 ADCx->ADCFG = tmpreg; in ADC_AnalogWatchdogCmd() 639 tmpreg = ADCx->ADCR; in ADC_AnalogWatchdogSingleChannelConfig() [all …]
|
| /bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f10x_adc.c | 116 if (ADCx == ADC1) in ADC_DeInit() 138 tmpreg1 = ADCx->CTLR1; in ADC_Init() 141 ADCx->CTLR1 = tmpreg1; in ADC_Init() 143 tmpreg1 = ADCx->CTLR2; in ADC_Init() 147 ADCx->CTLR2 = tmpreg1; in ADC_Init() 149 tmpreg1 = ADCx->RSQR1; in ADC_Init() 153 ADCx->RSQR1 = tmpreg1; in ADC_Init() 370 tmpreg1 = ADCx->CTLR1; in ADC_DiscModeChannelCountConfig() 374 ADCx->CTLR1 = tmpreg1; in ADC_DiscModeChannelCountConfig() 598 tmpreg = ADCx->CTLR2; in ADC_ExternalTrigInjectedConvConfig() [all …]
|
| /bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f20x_adc.c | 116 if (ADCx == ADC1) in ADC_DeInit() 121 else if(ADCx == ADC2) in ADC_DeInit() 143 tmpreg1 = ADCx->CTLR1; in ADC_Init() 147 ADCx->CTLR1 = tmpreg1; in ADC_Init() 149 tmpreg1 = ADCx->CTLR2; in ADC_Init() 153 ADCx->CTLR2 = tmpreg1; in ADC_Init() 155 tmpreg1 = ADCx->RSQR1; in ADC_Init() 159 ADCx->RSQR1 = tmpreg1; in ADC_Init() 376 tmpreg1 = ADCx->CTLR1; in ADC_DiscModeChannelCountConfig() 604 tmpreg = ADCx->CTLR2; in ADC_ExternalTrigInjectedConvConfig() [all …]
|
| /bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32v10x_adc.c | 120 if(ADCx == ADC1) in ADC_DeInit() 145 tmpreg1 = ADCx->CTLR1; in ADC_Init() 148 ADCx->CTLR1 = tmpreg1; in ADC_Init() 150 tmpreg1 = ADCx->CTLR2; in ADC_Init() 154 ADCx->CTLR2 = tmpreg1; in ADC_Init() 156 tmpreg1 = ADCx->RSQR1; in ADC_Init() 160 ADCx->RSQR1 = tmpreg1; in ADC_Init() 400 tmpreg1 = ADCx->CTLR1; in ADC_DiscModeChannelCountConfig() 404 ADCx->CTLR1 = tmpreg1; in ADC_DiscModeChannelCountConfig() 641 tmpreg = ADCx->CTLR2; in ADC_ExternalTrigInjectedConvConfig() [all …]
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_adc.c | 35 switch((uint32_t)ADCx) in ADC_Init() 61 ADCx->CR &= ~ADC_CR_AVG_Msk; in ADC_Init() 64 ADCx->IE = 0; in ADC_Init() 65 ADCx->IF = 0x3F3F3F3F; //清除中断标志 in ADC_Init() 77 switch((uint32_t)ADCx) in ADC_Init() 168 switch((uint32_t)ADCx) in ADC_CMP_Init() 183 void ADC_Open(ADC_TypeDef * ADCx) in ADC_Open() argument 222 void ADC_Close(ADC_TypeDef * ADCx) in ADC_Close() argument 303 ADCx->IE |= (it << pos); in ADC_INTEn() 320 ADCx->IE &= ~(it << pos); in ADC_INTDis() [all …]
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ |
| A D | ft32f0xx_adc.c | 38 void ADC_DeInit(ADC_TypeDef* ADCx) in ADC_DeInit() argument 43 if(ADCx == ADC1) in ADC_DeInit() 78 tmpreg = ADCx->CFGR1; in ADC_Init() 97 ADCx->CFGR1 = tmpreg; in ADC_Init() 368 tmpreg = ADCx->CFGR1; in ADC_AnalogWatchdogSingleChannelConfig() 377 ADCx->CFGR1 = tmpreg; in ADC_AnalogWatchdogSingleChannelConfig() 539 ADCx->SMPR = tmpreg ; in ADC_ChannelConfig() 650 tmpreg = ADCx->DR; in ADC_GetCalibrationFactor() 701 return (uint16_t) ADCx->DR; in ADC_GetConversionValue() 778 ADCx->IER |= ADC_IT; in ADC_ITConfig() [all …]
|
| /bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/ |
| A D | SWM320_adc.c | 33 switch((uint32_t)ADCx) in ADC_Init() 66 ADCx->CALIBSET = (ADCx == ADC0) ? SYS->BKP[0] : SYS->BKP[1]; in ADC_Init() 83 ADCx->IF = 0xFFFFFFFF; //清除中断标志 in ADC_Init() 129 switch((uint32_t)ADCx) in ADC_Init() 162 void ADC_Open(ADC_TypeDef * ADCx) in ADC_Open() argument 174 void ADC_Close(ADC_TypeDef * ADCx) in ADC_Close() argument 186 void ADC_Start(ADC_TypeDef * ADCx) in ADC_Start() argument 198 void ADC_Stop(ADC_TypeDef * ADCx) in ADC_Stop() argument 235 dat = ADCx->CH[idx].DATA; in ADC_Read() 284 ADCx->IE |= (0x01 << (idx*4)); in ADC_IntEOCEn() [all …]
|
| A D | SWM320_adc.h | 55 void ADC_ChnSelect(ADC_TypeDef * ADCx, uint32_t chns); 58 void ADC_IntEOCEn(ADC_TypeDef * ADCx, uint32_t chn); //转换完成中断使能 59 void ADC_IntEOCDis(ADC_TypeDef * ADCx, uint32_t chn); //转换完成中断禁止 60 void ADC_IntEOCClr(ADC_TypeDef * ADCx, uint32_t chn); //转换完成中断标志清除 61 uint32_t ADC_IntEOCStat(ADC_TypeDef * ADCx, uint32_t chn); //转换完成中断状态 63 void ADC_IntOVFEn(ADC_TypeDef * ADCx, uint32_t chn); //数据溢出中断使能 64 void ADC_IntOVFDis(ADC_TypeDef * ADCx, uint32_t chn); //数据溢出中断禁止 66 uint32_t ADC_IntOVFStat(ADC_TypeDef * ADCx, uint32_t chn); //数据溢出中断状态 73 void ADC_IntFULLEn(ADC_TypeDef * ADCx, uint32_t chn); //FIFO满中断使能 74 void ADC_IntFULLDis(ADC_TypeDef * ADCx, uint32_t chn); //FIFO满中断禁止 [all …]
|
| /bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/inc/ |
| A D | ch32v10x_adc.h | 145 void ADC_DeInit(ADC_TypeDef *ADCx); 148 void ADC_Cmd(ADC_TypeDef *ADCx, FunctionalState NewState); 151 void ADC_ResetCalibration(ADC_TypeDef *ADCx); 152 FlagStatus ADC_GetResetCalibrationStatus(ADC_TypeDef *ADCx); 153 void ADC_StartCalibration(ADC_TypeDef *ADCx); 154 FlagStatus ADC_GetCalibrationStatus(ADC_TypeDef *ADCx); 156 FlagStatus ADC_GetSoftwareStartConvStatus(ADC_TypeDef *ADCx); 161 uint16_t ADC_GetConversionValue(ADC_TypeDef *ADCx); 178 void ADC_ClearFlag(ADC_TypeDef *ADCx, uint8_t ADC_FLAG); 179 ITStatus ADC_GetITStatus(ADC_TypeDef *ADCx, uint16_t ADC_IT); [all …]
|
| /bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/inc/ |
| A D | ch32f20x_adc.h | 176 void ADC_DeInit(ADC_TypeDef* ADCx); 179 void ADC_Cmd(ADC_TypeDef* ADCx, FunctionalState NewState); 180 void ADC_DMACmd(ADC_TypeDef* ADCx, FunctionalState NewState); 182 void ADC_ResetCalibration(ADC_TypeDef* ADCx); 183 FlagStatus ADC_GetResetCalibrationStatus(ADC_TypeDef* ADCx); 184 void ADC_StartCalibration(ADC_TypeDef* ADCx); 185 FlagStatus ADC_GetCalibrationStatus(ADC_TypeDef* ADCx); 187 FlagStatus ADC_GetSoftwareStartConvStatus(ADC_TypeDef* ADCx); 192 uint16_t ADC_GetConversionValue(ADC_TypeDef* ADCx); 209 void ADC_ClearFlag(ADC_TypeDef* ADCx, uint8_t ADC_FLAG); [all …]
|
| /bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/inc/ |
| A D | ch32f10x_adc.h | 145 void ADC_DeInit(ADC_TypeDef* ADCx); 148 void ADC_Cmd(ADC_TypeDef* ADCx, FunctionalState NewState); 149 void ADC_DMACmd(ADC_TypeDef* ADCx, FunctionalState NewState); 151 void ADC_ResetCalibration(ADC_TypeDef* ADCx); 152 FlagStatus ADC_GetResetCalibrationStatus(ADC_TypeDef* ADCx); 153 void ADC_StartCalibration(ADC_TypeDef* ADCx); 154 FlagStatus ADC_GetCalibrationStatus(ADC_TypeDef* ADCx); 156 FlagStatus ADC_GetSoftwareStartConvStatus(ADC_TypeDef* ADCx); 161 uint16_t ADC_GetConversionValue(ADC_TypeDef* ADCx); 178 void ADC_ClearFlag(ADC_TypeDef* ADCx, uint8_t ADC_FLAG); [all …]
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_ll_adc.h | 2137 return (uint32_t)&(ADCx->DR); in LL_ADC_DMA_GetRegAddr() 3551 MODIFY_REG(ADCx->JSQR, in LL_ADC_INJ_SetSequencerRanks() 4213 MODIFY_REG(ADCx->CR1, in LL_ADC_SetAnalogWDMonitChannels() 4437 SET_BIT(ADCx->CR2, ADC_CR2_ADON); in LL_ADC_Enable() 4457 CLEAR_BIT(ADCx->CR2, ADC_CR2_ADON); in LL_ADC_Disable() 4497 SET_BIT(ADCx->CR2, ADC_CR2_SWSTART); in LL_ADC_REG_StartConversionSWStart() 4536 CLEAR_BIT(ADCx->CR2, ADC_CR2_EXTEN); in LL_ADC_REG_StopConversionExtTrig() 4960 SET_BIT(ADCx->CR1, LL_ADC_IT_EOCS); in LL_ADC_EnableIT_EOCS() 4971 SET_BIT(ADCx->CR1, LL_ADC_IT_OVR); in LL_ADC_EnableIT_OVR() 4987 SET_BIT(ADCx->CR1, LL_ADC_IT_JEOS); in LL_ADC_EnableIT_JEOS() [all …]
|