Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
usp:usp_spec [2012/12/04 19:32] – [Terminology] adminusp:usp_spec [2014/03/09 22:27] – [SendBreak() [0x55]] mnovak
Line 33: Line 33:
 ^ Checksum Word (required)  |  Data  |  Data  |  Data  |  Checksum  | ^ Checksum Word (required)  |  Data  |  Data  |  Data  |  Checksum  |
  
-  *A command consists of two or more 32-bit words. The first 32-bit word is divided into 4 fields. The highest 8 bits (bits 31-24) identify the command. The next 16 bits (bits 23-8) is the Unit ID or Address. The next 8 bits specify the number of 32 bit words in the command including the first and last word. +  *A command consists of two or more 32-bit words. The first 32-bit word is divided into 4 fields. The highest 8 bits (bits 31-24) identify the command. The next 16 bits (bits 23-8) is the ModuleID-Hi and ModuleID-Lo. The next 8 bits specify the number of 32 bit words in the command including the first and last word. 
   *The command word is followed by optional 1 – N data words. The interpretation of data depends on command.   *The command word is followed by optional 1 – N data words. The interpretation of data depends on command.
   *The last word contains 3 bytes of data (bits 21-16) and simple additive checksum (bits 7-0).   *The last word contains 3 bytes of data (bits 21-16) and simple additive checksum (bits 7-0).
Line 314: Line 314:
  
 When the slave device needs to signal that it has a status change it may send break signal to the master device. The signal is one 32 bit word, it comprises break character command ID (0x55) and USP Slave module ID. When the slave device needs to signal that it has a status change it may send break signal to the master device. The signal is one 32 bit word, it comprises break character command ID (0x55) and USP Slave module ID.
-Master will recoginze break by checking that CommandID == 0x55 and the Lenght == 1+Master will recoginze break by checking that CommandID == 0x55 and the Length == 1
  
 **Command** **Command**
usp/usp_spec.txt · Last modified: 2015/04/16 16:27 by 127.0.0.1
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0