Sean Cross 9a96cbbf4f lib: bring register into the field definition
By doing this, we prevent a mismatch between registers and fields. The
compiler ought to optimize away the `Register` field.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-09-27 11:44:31 +08:00
2020-09-27 11:27:18 +08:00
2020-09-27 11:27:18 +08:00
2020-09-27 11:27:18 +08:00
Description
Simple crate to make working with hardware registers easier
27 KiB
Languages
Rust 100%