Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multipass
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
multipass
Commits
be3efdeb
Commit
be3efdeb
authored
6 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
woring codegen for lm75 and sharp96 DFA
parent
32b799a0
No related branches found
Branches containing commit
Tags
1.34.1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
model/driver/lm75.dfa
+3
-1
3 additions, 1 deletion
model/driver/lm75.dfa
model/driver/sharp96.dfa
+36
-0
36 additions, 0 deletions
model/driver/sharp96.dfa
with
39 additions
and
1 deletion
model/driver/lm75.dfa
+
3
−
1
View file @
be3efdeb
instance: lm75
codegen:
instance: lm75
includes: ['driver/lm75.h']
parameters:
- os
...
...
This diff is collapsed.
Click to expand it.
model/driver/sharp96.dfa
0 → 100644
+
36
−
0
View file @
be3efdeb
codegen:
instance: sharp96
includes: ['driver/spi_b.h', 'driver/sharp96.h']
setup: ['spi.setup();', 'sharp96.setup();']
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment