Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
osie
Commits
7e22d8c4
Commit
7e22d8c4
authored
Apr 11, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Plain Diff
Support up to 4 mod-IOs
See merge request
!43
parents
f4f1f65e
2c10d6f2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
244 additions
and
100 deletions
+244
-100
coupler/mod_io_i2c.h
coupler/mod_io_i2c.h
+2
-0
coupler/mod_io_opc_ua.h
coupler/mod_io_opc_ua.h
+242
-100
No files found.
coupler/mod_io_i2c.h
View file @
7e22d8c4
// global relay state - XXX: use a list rather than individual variables
// global relay state - XXX: use a list rather than individual variables
uint8_t
I2C_0_RELAYS_STATE
=
0
;
// state of 4 relays at I2C slave 0
uint8_t
I2C_0_RELAYS_STATE
=
0
;
// state of 4 relays at I2C slave 0
uint8_t
I2C_1_RELAYS_STATE
=
0
;
// state of 4 relays at I2C slave 1
uint8_t
I2C_1_RELAYS_STATE
=
0
;
// state of 4 relays at I2C slave 1
uint8_t
I2C_2_RELAYS_STATE
=
0
;
// state of 4 relays at I2C slave 4
uint8_t
I2C_3_RELAYS_STATE
=
0
;
// state of 4 relays at I2C slave 3
// the default addresses of MOD-IOs
// the default addresses of MOD-IOs
static
char
*
DEFAULT_I2C_0_ADDR
=
"0x58"
;
static
char
*
DEFAULT_I2C_0_ADDR
=
"0x58"
;
...
...
coupler/mod_io_opc_ua.h
View file @
7e22d8c4
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment