Primarily to learn, but I will want to use them in cars that I make.
I suspected this to be the case. The 2 input one looks nice and saving a couple pins is cool, but not at the expense of safety and control.
I cannot imagine ever needing both closed at the same time though, so possible to control the N-MOS gates with signal P-MOSes and use a single pin to drive both? That way I can have only one, the other or neither.
I was also considering something similar for the PWM inputs.
So one possibility would be 3 pins:
- PWM in
- Reverse Low for forward, high for reverse
- Enable - N-MOS 3 state pin
I think this would force coordination and simplify software