Matrix-orbital DD-DB1 LCD/VFD Dev Board Uživatelský manuál Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 47
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 28
5.2.Dallas 1-Wire
Transaction
Dec
Hex
254 200 1
FE C8 01
Flags Send Bits Receive Bits Data
Flags Send Bits Receive Bits Data
Preforms a single Dallas 1-Wire transaction. Consult your device documentation for information regarding device
specific protocols. If an error is encountered, a corresponding value will be returned by the device.
Flags 1 byte, flags for transaction, see below
Send Bits 1 byte, number of bytes to be sent to the device
Receive Bits 1 byte, number of bytes expected to be received from the device
Data Variable, data to be transmitted LSB to MSB
Bit Flag Description Code Error Description
7 0 Success
6 Unused 1 Unknown Command
5 2 No Devices Found
4 0 (Future Compatibility) 3 Fatal Search Error
3 Add CRC8 to transaction
2 0 (Future Compatibility)
1 Read CRC8 from transaction
0 Reset Bus prior to transaction
27
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 46 47

Komentáře k této Příručce

Žádné komentáře