【正文】
2byte temperature register in the scratchpad memory and the DS18B20 returns to its lowpower idle state. If the device is being used in parasite power mode, within 10us after this mand is issued the master must enable a strong pulled on the 1Wire bus for the duration of the convert T mand and the DS18B20 will respond by transmitting a 0 while the temperature conversion is in Progress and a 1 when the conversion is done. In parasite power mode this notification technique cannot be used since the bus 1 is pulled high by the strong pull up during the conversion. (7) WRITE SCRACHPAD [4EH] This mand allows the master to write 3 bytes of the data to the DS18B20’ s scratchpad. The first data byte is writer into the TH register, the second byte is written into the TL register, and the third byte is written into the configuration register. Data must be transmitted least significant bit first. All three bytes must be written before the master issues a reset, or the data may be corrupted. (8) READ SCRACHPAD [0BEH] This mand allows the master to read the contents of the scratchpad. The data transfer starts with the least significant bit of byte 0 and continues through the scratchpad until 9 byte (byte 8CRC) is read. The master may issue a reset to terminate reading at any time if only part of the scratchpad data is needed. (9) COPY SCRATCHPAD [48H] This mand copies the contents of the scratchpad TH,TL and configuration registers to EEPROM. If the device is being used in parasite power mode, within 10us (max) after this mand is issued the master must enable a strong pull up on the 1Wire bus for at least 10ms as described