We designed SN74HC165-Q1 for fan motor monitoring.
When the switch is turned off, the B-EMF of the motor flows into the logic input pin of the SN74HC165-Q1.
A reverse voltage of about 43V(max) flows for 10us.
Could this reverse voltage cause problems with the IC?
The schematic and measurement waveforms are shown below.