Re-export the tock-register-interface library.
Define register types and fields.
Specific section of a register.
Values for the specific register fields.
In memory volatile register.
This behaves very similarly to a read-only register, but instead of doing a volatile read to MMIO to get the value for each function call, a copy of the register contents are stored locally in memory. This allows a peripheral to do a single read on a register, and then check which bits are set without having to do a full MMIO read each time. It also allows the value of the register to be "cached" in case the peripheral driver needs to clear the register in hardware yet still be able to check the bits.
Descriptive name for each register.