When isDefault
is present in an enumeratedValue
, map all non-specified reads to that variant
#172
Milestone
isDefault
is present in an enumeratedValue
, map all non-specified reads to that variant
#172
isDefault
is supposed to be an alternate tovalue
within anenumeratedValue
. Realistically, it's probably useful to allow bothvalue
andisDefault
to be specified.Current svd2rust appears to ignore it. It would likely be more correct to adjust the
_from
impls on the read proxies to translate all non-specified values into the enumeration marked withisDefault
. Right now, it appears those will be mapped to a_Reserved
enumeration.The text was updated successfully, but these errors were encountered: