summaryrefslogtreecommitdiff
path: root/model/driver/timed_resistive_load.dfa
blob: cb7efab2095dfa56ef4bdb8aeb514947cb910994 (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
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
codegen:
  instance: timedResistiveLoad
  includes:
    - driver/timed_resistive_load.h
  flags:
    - arch_drivers=timed_resistive_load
  setup:
    - timedResistiveLoad.setup();

states:
  - UNINITIALIZED
  - SLEEP
  - P14MW
  - P3_4MW
  - P235UW

transition:
  setup:
    src: [UNINITIALIZED]
    dst: SLEEP
  switchToNone:
    src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
    dst: SLEEP
  switchTo750:
    src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
    dst: P14MW
  switchTo3K3:
    src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
    dst: P3_4MW
  switchTo47K:
    src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
    dst: P235UW
  nop1K0:
    src: [SLEEP, P14MW, P3_4MW, P235UW]
    dst: SLEEP
    arguments:
    - name: duration_us
      values: [50, 200, 700, 1200, 5000, 23000]
  nop3K3:
    src: [SLEEP, P14MW, P3_4MW, P235UW]
    dst: SLEEP
    arguments:
    - name: duration_us
      values: [50, 200, 700, 1200, 5000, 23000]
  nop10K:
    src: [SLEEP, P14MW, P3_4MW, P235UW]
    dst: SLEEP
    arguments:
    - name: duration_us
      values: [50, 200, 700, 1200, 5000, 23000]