blob: c342dc7645f4a18306d5cf9cb9b365778b5fb0eb (
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
|
codegen:
instance: sharp96
includes: ['driver/spi.h', 'driver/sharp96.h']
setup: ['spi.setup();', 'sharp96.setup();']
flags: ['drivers=sharp96', 'arch_drivers=spi,counter']
states:
- UNINITIALIZED
- POWERON
- POWEROFF
transition:
setup:
src: [UNINITIALIZED]
dst: POWEROFF
powerOn:
src: [POWEROFF]
dst: POWERON
powerOff:
src: [POWERON]
dst: POWEROFF
clear:
src: [POWERON]
dst: POWERON
writeLine:
src: [POWERON]
dst: POWERON
arguments:
- name: line_no
values: [0, 63, 95]
- name: data
values:
- '(unsigned char *)"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"'
- '(unsigned char *)"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"'
toggleVCOM:
src: [POWERON]
dst: POWERON
|