[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/7] hw/gpio/nrf51_gpio: Add nRF51 GPIO peripher
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 4/7] hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral |
Date: |
Wed, 8 Aug 2018 10:11:42 +0100 |
On Mon, Aug 6, 2018 at 11:01 AM, Steffen Görtz
<address@hidden> wrote:
> This adds a model of the nRF51 GPIO peripheral.
>
> Reference Manual: http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf
>
> The nRF51 series microcontrollers support up to 32 GPIO pins in various
> configurations.
> The pins can be used as input pins with pull-ups or pull-down.
> Furthermore, three different output driver modes per level are
> available (disconnected, standard, high-current).
>
> The GPIO-Peripheral has a mechanism for detecting level changes which is
> not featured in this model.
>
> Signed-off-by: Steffen Görtz <address@hidden>
> ---
> Makefile.objs | 1 +
> hw/gpio/Makefile.objs | 1 +
> hw/gpio/nrf51_gpio.c | 305 +++++++++++++++++++++++++++++++++++
> hw/gpio/trace-events | 7 +
> include/hw/gpio/nrf51_gpio.h | 57 +++++++
> 5 files changed, 371 insertions(+)
> create mode 100644 hw/gpio/nrf51_gpio.c
> create mode 100644 hw/gpio/trace-events
> create mode 100644 include/hw/gpio/nrf51_gpio.h
Reviewed-by: Stefan Hajnoczi <address@hidden>
- [Qemu-devel] [PATCH 7/7] hw/display/led_matrix: Add LED matrix display device, (continued)
- [Qemu-devel] [PATCH 7/7] hw/display/led_matrix: Add LED matrix display device, Steffen Görtz, 2018/08/06
- [Qemu-devel] [PATCH 5/7] tests/microbit-test: Add Tests for nRF51 GPIO, Steffen Görtz, 2018/08/06
- [Qemu-devel] [PATCH 2/7] hw/nvram/nrf51_nvm: Add nRF51 non-volatile memories, Steffen Görtz, 2018/08/06
- [Qemu-devel] [PATCH 4/7] hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral, Steffen Görtz, 2018/08/06
- [Qemu-devel] [PATCH 3/7] tests: Add bbc:microbit / nRF51 test suite, Steffen Görtz, 2018/08/06
- [Qemu-devel] [PATCH 6/7] hw/timer/nrf51_timer: Add nRF51 Timer peripheral, Steffen Görtz, 2018/08/06
- Re: [Qemu-devel] [PATCH 0/7] arm: nRF51 Devices and Microbit Support, Peter Maydell, 2018/08/06