diff --git a/documentation/SPI-Proto b/documentation/SPI-Proto new file mode 100644 index 0000000..bf19dd5 --- /dev/null +++ b/documentation/SPI-Proto @@ -0,0 +1,26 @@ + 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 + +-------------+ +-------------+ +-------------+ +-------------+ + | OpCode | | Address | | ValueH | | ValueL | + +-------------+ +-------------+ +-------------+ +-------------+ + + +Where following values are Valid: +|--------------------------------------------------------------------------------------------------------------------------| +| Binary Hex Name Address ValueL ValueH Reply Description| +|--------------------------------------------------------------------------------------------------------------------------| +| 0000001 0x01 Read-Temp Number of None/Rand None/Rand A 16Bit Value Reads the | +| Thermometer Representing Temperature| +| Starting with 0 the Temperature | +|--------------------------------------------------------------------------------------------------------------------------| +| 0000002 0x02 Read-Var8 Number of the None/Rand None/Rand A 8Bit Value Reads 8Bit | +| var-DEFINE read from VAR Variable | +|--------------------------------------------------------------------------------------------------------------------------| +| 0000003 0x03 Read-Var16 Number of the None/Rand None/Rand A 16Bit Value Reads 16Bit| +| var-DEFINE read from VAR Variable | +|--------------------------------------------------------------------------------------------------------------------------| +| 0000004 0x04 Write-Var8 Number of the Value of Var None/Rand None/Rand Writes 8Bit| +| var-DEFINE to write Variable | +|--------------------------------------------------------------------------------------------------------------------------| +| 0000005 0x05 Write-Var16 Number of the Value of Var Value of Var None/Rand Writes 16 | +| var-DEFINE to write (HIGH) to write (LOW) Bit Var | +|--------------------------------------------------------------------------------------------------------------------------|