Input protection for USB, I2C and USART