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:
commit
9965da5388
@ -44,10 +44,10 @@ block/GPIO:
|
|||||||
byte_offset: 32
|
byte_offset: 32
|
||||||
fieldset: AFR
|
fieldset: AFR
|
||||||
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:
|
fields:
|
||||||
- name: AFR
|
- 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_offset: 0
|
||||||
bit_size: 4
|
bit_size: 4
|
||||||
array:
|
array:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user