Automotive magnetic sensor