Closed romancardenas closed 12 months ago
ping @rust-embedded/risc-v !
If you prefer, I can add private getter and setter methods to the register macros to make the code look "cleaner", but I think it is OK as is.
ping @rust-embedded/riscv @rust-embedded/risc-v
Hey sorry for the delay, I've been really busy lately. I'll try to review this ASAP.
I replaced the
bit_field
crate with bit-wise operations. In this way, we avoid needless checks for getting bits from the registers. Now, future versions of theriscv
crate will be slightly faster (and smaller)