when i did something similar using SPI expansion boards, the data structure simply included the SPI address and bit position.
when i did something similar using SPI expansion boards, the data structure simply included the SPI address and bit position.