mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Features supported :
- the 8 STM32L4x5 GPIOs are initialized with their reset values
(except IDR, see below)
- input mode : setting a pin in input mode "externally" (using input
irqs) results in an out irq (transmitted to SYSCFG)
- output mode : setting a bit in ODR sets the corresponding out irq
(if this line is configured in output mode)
- pull-up, pull-down
- push-pull, open-drain
Difference with the real GPIOs :
- Alternate Function and Analog mode aren't implemented :
pins in AF/Analog behave like pins in input mode
- floating pins stay at their last value
- register IDR reset values differ from the real one :
values are coherent with the other registers reset values
and the fact that AF/Analog modes aren't implemented
- setting I/O output speed isn't supported
- locking port bits isn't supported
- ADC function isn't supported
- GPIOH has 16 pins instead of 2 pins
- writing to registers LCKR, AFRL, AFRH and ASCR is ineffective
Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20240305210444.310665-2-ines.varhol@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
||
|---|---|---|
| .. | ||
| arm | ||
| devices | ||
| i386 | ||
| loongarch | ||
| openrisc | ||
| ppc | ||
| riscv | ||
| s390x | ||
| authz.rst | ||
| barrier.rst | ||
| bootindex.rst | ||
| confidential-guest-support.rst | ||
| cpu-hotplug.rst | ||
| cpu-models-mips.rst.inc | ||
| cpu-models-x86-abi.csv | ||
| cpu-models-x86.rst.inc | ||
| device-emulation.rst | ||
| device-url-syntax.rst.inc | ||
| gdb.rst | ||
| generic-loader.rst | ||
| guest-loader.rst | ||
| images.rst | ||
| index.rst | ||
| introduction.rst | ||
| invocation.rst | ||
| keys.rst | ||
| keys.rst.inc | ||
| linuxboot.rst | ||
| managed-startup.rst | ||
| monitor.rst | ||
| multi-process.rst | ||
| mux-chardev.rst | ||
| mux-chardev.rst.inc | ||
| pr-manager.rst | ||
| qemu-block-drivers.rst | ||
| qemu-block-drivers.rst.inc | ||
| qemu-cpu-models.rst | ||
| qemu-manpage.rst | ||
| replay.rst | ||
| secrets.rst | ||
| security.rst | ||
| target-arm.rst | ||
| target-avr.rst | ||
| target-i386-desc.rst.inc | ||
| target-i386.rst | ||
| target-m68k.rst | ||
| target-mips.rst | ||
| target-openrisc.rst | ||
| target-ppc.rst | ||
| target-riscv.rst | ||
| target-rx.rst | ||
| target-s390x.rst | ||
| target-sparc.rst | ||
| target-sparc64.rst | ||
| target-xtensa.rst | ||
| targets.rst | ||
| tls.rst | ||
| virtio-net-failover.rst | ||
| vm-templating.rst | ||
| vnc-security.rst | ||