-
Notifications
You must be signed in to change notification settings - Fork 3
/
docs
71 lines (53 loc) · 1.09 KB
/
docs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Timers:
TIM1 - periodic can messages
TIM2 - debouncing timeout
TIM3 - zone beep/open timeout
$ cat cancrap
0 0 0 0 0 0 0 0 0 0 0
CONTROLLER -> ALLREADER
0 T T T T 0 0 0 0 0 0
CONTROLLER -> READER
0 T T T T X X X X X X
CONTROLLER <- READER
1 T T T T X X X X X X
1 0 0 0 0 1 1 1 1 1 1
T T T T
-------
0 0 0 0
<- VERSIONINFO
Wersja, info, bardziej dla ludzi, 8 znakow
0 0 0 1
-> STATUSREQ [RTR]
<- STATUS
00 00 00 00 00 00 00
^ TX RX ERR
|
- mode (00 - normal, 01 - bootloader)
0 0 1 0
-> INRDREQ [RTR]
<- INRD
00
^- stan portu (8 bitow)
0 0 1 1
-> OUTRDREQ [RTR]
-> OUTSET
00
^- nowy stan portu
<- OUTRD
00
^- stan portu
0 1 0 0
-> SCANRESP
00 - OK
01 - REJECT
<- SCAN
00 00 00 00
^- id breloczka
0 1 0 1
<- BTNCLICK
00
^- id przycisku
0 1 1 0
<- GPIO INTERRUPT
00
PIN