Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f62eae

Browse files
committed
use coma separated pattern to match against GPIOx.BRR.BRx fields
1 parent 7c5a8a0 commit 8f62eae

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

peripherals/gpio/gpio_with_brr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"GPIO*":
44
BRR:
5-
"BR[0123456789]*":
5+
"BR[0123456789],BR1[012345]":
66
_write:
77
NoAction: [0, "No action on the corresponding ODx bit"]
88
Reset: [1, "Reset the ODx bit"]

peripherals/gpio/gpio_wl_with_brr.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,13 @@
22

33
"GPIO[AB]":
44
BRR:
5-
"BR[0123456789]*":
5+
"BR[0123456789],BR1[012345]":
66
_write:
77
NoAction: [0, "No action on the corresponding ODx bit"]
88
Reset: [1, "Reset the ODx bit"]
99
"GPIOC":
1010
BRR:
11-
"BR[0123456]":
12-
_write:
13-
NoAction: [0, "No action on the corresponding ODx bit"]
14-
Reset: [1, "Reset the ODx bit"]
15-
"BR1[345]":
11+
"BR[0123456],BR1[345]":
1612
_write:
1713
NoAction: [0, "No action on the corresponding ODx bit"]
1814
Reset: [1, "Reset the ODx bit"]

0 commit comments

Comments
 (0)