X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=openparking.otl;fp=openparking.otl;h=529f0c95c8163a3b5f9f30577271860fa5bdd031;hb=74ebbcd6ab77d57804b3548e1efa2ff86228e4be;hp=5d40d70840195615d8a6e8e51e2d9d3d726c916d;hpb=b6aa72c62905573d4558d11973b5180e112f44d8;p=openparking.git diff --git a/openparking.otl b/openparking.otl index 5d40d70..529f0c9 100644 --- a/openparking.otl +++ b/openparking.otl @@ -120,18 +120,23 @@ Software kontroleru: 12x porucha senzoru (r) 2x LED (rw) holding regs - 1000-1019 permanent,rw - 1000 unit ID - 1001-1012 distance thresholds - 1013 sensors for LED1 (0 = externally controled) - 1014 sensors for LED2 ( =="== ) + 0-19 permanent (backed by EEPROM) + 0 unit ID + 1-12 distance thresholds + 13 sensors for LED1 (0 = externally controled) + 14 sensors for LED2 ( =="== ) + 15 bitmap of sensors where long read counts as free place (1=on) + 16 threshhold of long reads + + 20-... transient (not backed by EEPROM) + 20 LED state bitmap (00 = busy, 01 = free, 1x = err) + 21-32 measured distances + 33 free_bitmap (1=free) + 34 err_bitmap (1=err) + 35 long_bitmap (1=long) + 41-52 maximum measured distances + 61-72 error state (upper byte: @ of long reads, lower: # off errs) - 1020-1039 transient - 1020 LED state bitmap - 1021-1032 measured distances - 1033 free_bitmap (1=free) - 1034 err_bitmap (1=err) - 1041-1052 maximum measured distances Hlavni smycka, cca 5 vterin: ? zmerit teplotu z ATmegy