xemu/hw/adc
Hao Wu 77c05b0b74 hw/adc: Add an ADC module for NPCM7XX
The ADC is part of NPCM7XX Module. Its behavior is controled by the
ADC_CON register. It converts one of the eight analog inputs into a
digital input and stores it in the ADC_DATA register when enabled.

Users can alter input value by using qom-set QMP command.

Reviewed-by: Havard Skinnemoen <hskinnemoen@google.com>
Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20210108190945.949196-4-wuhaotsh@google.com
[PMM: Added missing hw/adc/trace.h file]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-01-12 21:19:02 +00:00
..
Kconfig
meson.build hw/adc: Add an ADC module for NPCM7XX 2021-01-12 21:19:02 +00:00
npcm7xx_adc.c hw/adc: Add an ADC module for NPCM7XX 2021-01-12 21:19:02 +00:00
stm32f2xx_adc.c hw/adc/stm32f2xx_adc: Correct memory region size and access size 2020-06-05 17:23:09 +01:00
trace-events hw/adc: Add an ADC module for NPCM7XX 2021-01-12 21:19:02 +00:00
trace.h hw/adc: Add an ADC module for NPCM7XX 2021-01-12 21:19:02 +00:00