Merge pull request #208 from cbiffle/gpio-v2-afr-array-docs

gpio_v2: remove another case where indexing was potentially misleading
This commit is contained in:
Dario Nieuwenhuis 2023-06-28 18:26:34 +00:00 committed by GitHub
commit 9965da5388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: