Use offsets for non-contiguous array
This commit is contained in:
parent
f0e27880b9
commit
22386bae0c
@ -2,11 +2,52 @@
|
||||
block/BKP:
|
||||
description: Backup registers
|
||||
items:
|
||||
- name: DR1
|
||||
description: Data register bank 1
|
||||
- name: DR
|
||||
description: Data register
|
||||
array:
|
||||
len: 10
|
||||
stride: 4
|
||||
offsets:
|
||||
- 0
|
||||
- 4
|
||||
- 8
|
||||
- 12
|
||||
- 16
|
||||
- 20
|
||||
- 24
|
||||
- 28
|
||||
- 32
|
||||
- 36
|
||||
- 60
|
||||
- 64
|
||||
- 68
|
||||
- 72
|
||||
- 76
|
||||
- 80
|
||||
- 84
|
||||
- 88
|
||||
- 92
|
||||
- 96
|
||||
- 100
|
||||
- 104
|
||||
- 108
|
||||
- 112
|
||||
- 116
|
||||
- 120
|
||||
- 124
|
||||
- 128
|
||||
- 132
|
||||
- 136
|
||||
- 140
|
||||
- 144
|
||||
- 148
|
||||
- 152
|
||||
- 156
|
||||
- 160
|
||||
- 164
|
||||
- 168
|
||||
- 172
|
||||
- 176
|
||||
- 180
|
||||
- 184
|
||||
byte_offset: 0
|
||||
fieldset: DR
|
||||
- name: RTCCR
|
||||
@ -21,13 +62,6 @@ block/BKP:
|
||||
description: Control/status register
|
||||
byte_offset: 48
|
||||
fieldset: CSR
|
||||
- name: DR2
|
||||
description: Data register bank 2
|
||||
array:
|
||||
len: 32
|
||||
stride: 4
|
||||
byte_offset: 60
|
||||
fieldset: DR
|
||||
fieldset/DR:
|
||||
description: Data register
|
||||
fields:
|
||||
|
Loading…
x
Reference in New Issue
Block a user