Generation mechanism: when the driver has an alarm output or the drive alarm high and low level detection logic is opposite;