Matrix-orbital PK202-24-USB Manual do Utilizador Página 31

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 48
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 30
Table 15: 1-Wire Transaction
Offset
(Bytes)
Length
(Bytes)
Name Description
0 1 Flags The flags byte controls the optional
components of the transaction.
1 1 Send Bits The number of bits that will be
transmitted onto the bus. The actual
bits to be transmitted are held in the
Send Data section.
2 1 Recieve Bits The number of bits to read off the
bus after the data to be put on the
bus has been sent.
3 Variable Send Data The data to be transmitted onto the
bus. The data is transmitted MSB
to LSB in the order that they are re-
ceived.
Table 16: 1-Wire Flags
Bit Description
7
6 Unused
5 (0 for future compatibility)
4
3 Add a CRC8 to the end of the transmitted data
2 (0 for future compatibility)
1 Assume last received byte is a CRC8 and validate it
0 Reset bus before transaction
The received data is sent back using the “Display return protocol”.
Table 17: 1-Wire Error Codes
Code Description
0x00 Success
0x01 Unknown 1-Wire Command
0x02 No devices on the bus
0x03 Fatal search error
Matrix Orbital PK202-24-USB 27
Vista de página 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 47 48

Comentários a estes Manuais

Sem comentários