config:
register_address_type: u8
default_byte_order: LE
Foo:
type: register
address: 0
size_bits: 24
description: This is the Foo register
fields:
value0:
description: This is a bool!
base: bool
start: 0
end: 1
value1:
base: uint
start: 1
end: 16
value2:
base: int
start: 16
end: 24
FooRepeated:
type: register
address: 3
size_bits: 24
description: This is the Foo register
repeat:
count: 4
stride: 3
fields:
value0:
description: This is a bool!
base: bool
start: 0
end: 1
value1:
base: uint
start: 1
end: 16
value2:
base: int
start: 16
end: 24