Widen the bitsize on the EXTICR.

This commit is contained in:
Bob McWhirter 2021-05-04 14:22:46 -04:00
parent bf7577f555
commit ea80d8434b
2 changed files with 14 additions and 3 deletions

View File

@ -107,7 +107,7 @@ fieldset/EXTICR:
- name: EXTI - name: EXTI
description: EXTI12 configuration bits description: EXTI12 configuration bits
bit_offset: 0 bit_offset: 0
bit_size: 3 bit_size: 4
array: array:
len: 4 len: 4
stride: 4 stride: 4

View File

@ -15,16 +15,27 @@ transforms:
from: ([A-Z]+)\d+ from: ([A-Z]+)\d+
to: $1 to: $1
allow_cursed: true allow_cursed: true
- MakeFieldArray:
fieldsets: .*
from: P\d+WP
to: PWP
# - MakeRegisterArray:
# blocks: .*
# from: ([A-Z]+)\d+
# to: $1
- MakeRegisterArray: - MakeRegisterArray:
blocks: .* blocks: .*
from: ([A-Z]+)\d+ from: EXTICR\d+
to: $1 to: EXTICR
- MergeEnums: - MergeEnums:
from: '[HL](IFCR|ISR)_(.*)' from: '[HL](IFCR|ISR)_(.*)'
to: $2 to: $2
- MergeFieldsets: - MergeFieldsets:
from: '[HL](IFCR|ISR)' from: '[HL](IFCR|ISR)'
to: $1 to: $1
- MergeFieldsets:
from: EXTICR\d
to: EXTICR
- MakeRegisterArray: - MakeRegisterArray:
blocks: .* blocks: .*
from: '[HL](IFCR|ISR)' from: '[HL](IFCR|ISR)'