aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-21Mark all registers as transparentIan McIntyre
Guarantees that the layout is the same as the inner type. Since UnsafeCell is also transparent, this ensures that the register has the same ABI as T. Today's registers work without this. Otherwise, RAL register blocks would have unaccounted offsets / wrong sizes. This is for completness, and a signal for others that a transmute might be OK. Requires Rust 1.28.
2021-08-15Add Github Actions and stm32ral dev-dep for doctests.Adam Greig
2021-08-15Initial commit. Import `registers.rs` from stm32ral.Adam Greig