все там есть (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено 0men 15 марта 2004 г. 12:49
В ответ на: И вот что интересно... отправлено POV 15 марта 2004 г. 12:34

стр 10 анг. по белому

WRITE SCRATCHPAD [4Eh]
This command allows the master to write 2 bytes of data to the DS18S20’s scratchpad. The first byte is
written into the TH register (byte 2 of the scratchpad), and the second byte is written into the TL register
(byte 3 of the scratchpad). Data must be transmitted least significant bit first. Both bytes MUST be
written before the master issues a reset, or the data may be corrupted.
READ SCRATCHPAD [BEh]
This command 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 the 9th byte (byte 8 – CRC) is
read. The master may issue a reset to terminate reading at any time if only part of the scratchpad data is
needed.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru