[driver] add ds18b20 output validation logic upon datasheet