diff options
| author | Hao Wu <wuhaotsh@google.com> | 2021-01-08 11:09:42 -0800 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-01-12 21:19:02 +0000 |
| commit | 77c05b0b746119a78bffb595b0313d39ac6b20fc (patch) | |
| tree | 72bd9b4e4f3773f94809fafec303c7cff44074f3 /hw/adc/trace.h | |
| parent | 0be12dc76aabda6399a28d9b5e450da2bb94cb22 (diff) | |
| download | focaccia-qemu-77c05b0b746119a78bffb595b0313d39ac6b20fc.tar.gz focaccia-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 'hw/adc/trace.h')
| -rw-r--r-- | hw/adc/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/adc/trace.h b/hw/adc/trace.h new file mode 100644 index 0000000000..b71d5b5b4e --- /dev/null +++ b/hw/adc/trace.h @@ -0,0 +1 @@ +#include "trace/trace-hw_adc.h" |