Are there any 5-bit to 32 Port Chips, that would operate:
Converting from 5-bit: inputs: 5 bit address 1 bit value 1 bit clock outputs: 32x 1 bit value (outputs toggled)
Converting to 5-bit: inputs: 32x 1 bit value 5 bit address 1 bit clock outputs: 1 bit value
These would be two separate chips entirely, then each has a 7-bit bus to the GPIO on the RPi (perhaps only 2 wide, and a common clock, address as the program that will be using them will probably only be running on one thread. This could also allow for a much larger data bus, say 15-bit which would give 10 additional i/o's possibly further multiplexed on their own for more ports, or high accuracy DAC/ADCs), so a python program with an abstraction layer on top of GPIO would be able to interact with the real world with 32-inputs, and 32-outputs.
Are there any chips available that would this, or would I have to custom build something?