diff options
author | Hao Wu | 2021-01-08 20:09:42 +0100 |
---|---|---|
committer | Peter Maydell | 2021-01-12 22:19:02 +0100 |
commit | 77c05b0b746119a78bffb595b0313d39ac6b20fc (patch) | |
tree | 72bd9b4e4f3773f94809fafec303c7cff44074f3 /docs/system/arm | |
parent | hw/timer: Refactor NPCM7XX Timer to use CLK clock (diff) | |
download | qemu-77c05b0b746119a78bffb595b0313d39ac6b20fc.tar.gz qemu-77c05b0b746119a78bffb595b0313d39ac6b20fc.tar.xz qemu-77c05b0b746119a78bffb595b0313d39ac6b20fc.zip |
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>
Diffstat (limited to 'docs/system/arm')
-rw-r--r-- | docs/system/arm/nuvoton.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/system/arm/nuvoton.rst b/docs/system/arm/nuvoton.rst index b00d405d52..35829f8d0b 100644 --- a/docs/system/arm/nuvoton.rst +++ b/docs/system/arm/nuvoton.rst @@ -41,6 +41,7 @@ Supported devices * Random Number Generator (RNG) * USB host (USBH) * GPIO controller + * Analog to Digital Converter (ADC) Missing devices --------------- @@ -58,7 +59,6 @@ Missing devices * USB device (USBD) * SMBus controller (SMBF) * Peripheral SPI controller (PSPI) - * Analog to Digital Converter (ADC) * SD/MMC host * PECI interface * Pulse Width Modulation (PWM) |