spinal.lib.bus.misc
Creates an address mapping using a bit mask.
MaskMapping(0x0000, 0x8000) => matches 0x0000-0x8000 MaskMapping(0x40, 0xF0) => matches 0x40 - 0x4F
Address offset to use. Must be inside the mask
Bit mask applied to the address before the check
Address offset to use.
(Since version ) see corresponding Javadoc for more information.
Creates an address mapping using a bit mask.
MaskMapping(0x0000, 0x8000) => matches 0x0000-0x8000 MaskMapping(0x40, 0xF0) => matches 0x40 - 0x4F
Address offset to use. Must be inside the mask
Bit mask applied to the address before the check