Use offsets for non-contiguous array
This commit is contained in:
parent
f0e27880b9
commit
22386bae0c
@ -2,11 +2,52 @@
|
|||||||
block/BKP:
|
block/BKP:
|
||||||
description: Backup registers
|
description: Backup registers
|
||||||
items:
|
items:
|
||||||
- name: DR1
|
- name: DR
|
||||||
description: Data register bank 1
|
description: Data register
|
||||||
array:
|
array:
|
||||||
len: 10
|
offsets:
|
||||||
stride: 4
|
- 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
|
byte_offset: 0
|
||||||
fieldset: DR
|
fieldset: DR
|
||||||
- name: RTCCR
|
- name: RTCCR
|
||||||
@ -21,13 +62,6 @@ block/BKP:
|
|||||||
description: Control/status register
|
description: Control/status register
|
||||||
byte_offset: 48
|
byte_offset: 48
|
||||||
fieldset: CSR
|
fieldset: CSR
|
||||||
- name: DR2
|
|
||||||
description: Data register bank 2
|
|
||||||
array:
|
|
||||||
len: 32
|
|
||||||
stride: 4
|
|
||||||
byte_offset: 60
|
|
||||||
fieldset: DR
|
|
||||||
fieldset/DR:
|
fieldset/DR:
|
||||||
description: Data register
|
description: Data register
|
||||||
fields:
|
fields:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user