Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
burrbull committed Oct 27, 2023
1 parent 68027da commit ae342c4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,18 @@ _rebase:
_strip_end:
- "_POSTFIX_"


# You can list glob-like rules separated by commas to cover more periperals or registers at time.
# If rule is optional (peripheral may be missing in some devices) add `?@` in the header.
# Don't abuse it. First test not optional rule.
"?@TIM[18],TIM20":
CR2:
# Fields also support collecting in arrays
_array:
OIS?:
description: Output Idle state %s (OC%s output)
# Optional rules are supported here too
"?@OIS?N":
description: Output Idle state %s (OC%sN output)
```
### Name Matching
Expand Down

0 comments on commit ae342c4

Please sign in to comment.