summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/gutter.fsm
blob: 906feaf9af4c35af8c4212cdde10d4fc07b8bba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#FSM gutter
gutter

States:
 IDLE
 OPEN_COLLECTOR
 CLOSE_COLLECTOR

Events:
 start
 collector_opened
 collector_closed

IDLE:
 start -> OPEN_COLLECTOR
  Open the collector and wait for a while.

OPEN_COLLECTOR:
 collector_opened -> CLOSE_COLLECTOR
  Close the rear panel.

CLOSE_COLLECTOR:
 collector_closed-> IDLE
  The samples has been inserted in the gutter. Go to the idle state.