Home
last modified time | relevance | path

Searched refs:adc_cr2 (Results 1 – 2 of 2) sorted by relevance

/qemu/hw/adc/
H A Dstm32f2xx_adc.c50 s->adc_cr2 = 0x00000000; in stm32f2xx_adc_reset()
93 if (s->adc_cr2 & ADC_CR2_ALIGN) { in stm32f2xx_adc_generate_value()
118 return s->adc_cr2 & 0xFFFFFFF; in stm32f2xx_adc_read()
156 if ((s->adc_cr2 & ADC_CR2_ADON) && (s->adc_cr2 & ADC_CR2_SWSTART)) { in stm32f2xx_adc_read()
157 s->adc_cr2 ^= ADC_CR2_SWSTART; in stm32f2xx_adc_read()
192 s->adc_cr2 = value; in stm32f2xx_adc_write()
260 VMSTATE_UINT32(adc_cr2, STM32F2XXADCState),
/qemu/include/hw/adc/
H A Dstm32f2xx_adc.h73 uint32_t adc_cr2; member