getBlockByAddr method
- int addr
Accessor to the config of a particular register block
within the module by relative address addr
.
Implementation
CsrBlockConfig getBlockByAddr(int addr) =>
blocks.firstWhere((element) => element.baseAddr == addr);