getRegisterByAddr method
- int addr
Accessor to the config of a particular register
within the block by relative address addr.
Implementation
CsrInstanceConfig getRegisterByAddr(int addr) =>
registers.firstWhere((element) => element.addr == addr);