I'm looking for an IC or small circuit that implements the following truth table:
Input | Output 1 | Output 2 |
---|---|---|
H | H | L |
L | L | H |
Z | H | H |
Is this possible?
The purpose is to keep an SPI SS signal pulled high for two devices when the input is high-Z, and to otherwise select one of two devices. It would be possible to simply use an inverter but then one of the SS signals would always be active.