Generate Rust register maps (`struct`s) from SVD files
set
for not full safe fieldsIsEnum
constraint for FieldWriter
s (fix variant
safety)bits
always unsafe
, add set
for safe writingModifiedWriteValues::ZeroToSet
W::bits
+ safe W::set
base-address-shift
config flagPascalCase
for type idents, fix case changing bugs, add --ident-format
(-f
) option flagenum_read_name
for read-only
enums, RWEnum
helperDimSuffix
helper traitmove
in RegisterBlock::reg_iter
implementation (iterator of register/cluster array)cargo doc
constants generationsvd2rust.toml
config file)svd::Device
validation after parsing by serde
skip-crate-attributes
config flagmove
in R::field_iter
implementation (iterator of field array values)ArrayElemAccessor
reexport-core-peripherals
and reexport-interrupt
features disabled by defaultArrayProxy
and const_generic
featureFieldWriter
takes offset as struct field instead of const generic.
Improves SVD field array access
Add width
, offset
methodsEnumeratedValues
Config
to config
moduleimpl-defmt
config flagVector
union as repr(C)
dimArrayIndex
for array names and descriptions