rust-embedded / svd2rust

Generate Rust register maps (`struct`s) from SVD files
Apache License 2.0
674 stars 147 forks source link

add IsEnum & rm FieldWriterSafe, add set #829

Closed burrbull closed 3 months ago

burrbull commented 3 months ago

instead of #825

This blocks using variant method as "safe" replacement for bits on fields without enumeratedValues. Also makes bits always unsafe. Instead adds set method for Safe fields. (same as was done in 0.32 for register writer).

burrbull commented 3 months ago

/ci diff pr

github-actions[bot] commented 3 months ago

Diff for comment

burrbull commented 3 months ago

/ci diff pr

github-actions[bot] commented 3 months ago

Diff for comment

burrbull commented 3 months ago

/ci diff pr

github-actions[bot] commented 3 months ago

Diff for comment

Emilgardis commented 3 months ago

/ci diff pr

github-actions[bot] commented 3 months ago

Diff for comment

burrbull commented 3 months ago

/ci diff pr

github-actions[bot] commented 3 months ago

Diff for comment

burrbull commented 3 months ago

cc @Emilgardis