From 3c49b933fc5effe1cae12a1e35c14af1f8de2d8c Mon Sep 17 00:00:00 2001 From: "Cliff L. Biffle" Date: Wed, 28 Jun 2023 11:18:58 -0700 Subject: [PATCH] gpio_v2: remove another case where indexing was potentially misleading The field docs suggested that the index was in the range 0..15, which is not true in this case. --- data/registers/gpio_v2.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/registers/gpio_v2.yaml b/data/registers/gpio_v2.yaml index 136d1c0..b384765 100644 --- a/data/registers/gpio_v2.yaml +++ b/data/registers/gpio_v2.yaml @@ -44,10 +44,10 @@ block/GPIO: byte_offset: 32 fieldset: AFR fieldset/AFR: - description: GPIO alternate function register + description: GPIO alternate function register. This contains an array of 8 fields, which correspond to pins 0-7 of the port (for AFRL) or pins 8-15 of the port (for AFRH). fields: - name: AFR - description: Alternate function selection for port x bit y (y = 0..15) + description: Alternate function selection for one of the pins controlled by this register (0-7). bit_offset: 0 bit_size: 4 array: