Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Esteban Blanc
proview
Commits
f219e679
Commit
f219e679
authored
Jun 23, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Channels as attributeobjects, and new pb and ssab methods
parent
3aacbb71
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
210 additions
and
27 deletions
+210
-27
src/lib/rt/src/rt_io_base.c
src/lib/rt/src/rt_io_base.c
+200
-24
src/lib/rt/src/rt_io_base.h
src/lib/rt/src/rt_io_base.h
+10
-3
No files found.
src/lib/rt/src/rt_io_base.c
View file @
f219e679
This diff is collapsed.
Click to expand it.
src/lib/rt/src/rt_io_base.h
View file @
f219e679
...
@@ -105,14 +105,17 @@ typedef enum {
...
@@ -105,14 +105,17 @@ typedef enum {
typedef
struct
{
typedef
struct
{
void
*
cop
;
/* Pointer to channel object */
void
*
cop
;
/* Pointer to channel object */
pwr_tDlid
ChanDlid
;
/* Dlid for pointer to channel */
pwr_tDlid
ChanDlid
;
/* Dlid for pointer to channel */
pwr_
tObjid
ChanObjid
;
/* Objid
for channel */
pwr_
sAttrRef
ChanAref
;
/* AttrRef
for channel */
void
*
sop
;
/* Pointer to signal object */
void
*
sop
;
/* Pointer to signal object */
pwr_tDlid
SigDlid
;
/* Dlid for pointer to signal */
pwr_tDlid
SigDlid
;
/* Dlid for pointer to signal */
pwr_
tObjid
SigObjid
;
/* Objid
for signal */
pwr_
sAttrRef
SigAref
;
/* AttrRef
for signal */
void
*
vbp
;
/* Pointer to valuebase for signal */
void
*
vbp
;
/* Pointer to valuebase for signal */
void
*
abs_vbp
;
/* Pointer to absvaluebase (Co only) */
void
*
abs_vbp
;
/* Pointer to absvaluebase (Co only) */
pwr_tClassId
ChanClass
;
/* Class of channel object */
pwr_tClassId
ChanClass
;
/* Class of channel object */
pwr_tClassId
SigClass
;
/* Class of signal object */
pwr_tClassId
SigClass
;
/* Class of signal object */
pwr_tUInt32
size
;
/* Size of channel in byte */
pwr_tUInt32
offset
;
/* Offset to channel in card */
pwr_tUInt32
mask
;
/* Mask for bit oriented channels */
}
io_sChannel
;
}
io_sChannel
;
...
@@ -127,7 +130,9 @@ typedef struct s_Card {
...
@@ -127,7 +130,9 @@ typedef struct s_Card {
pwr_tStatus
(
*
Read
)
();
/* Read method */
pwr_tStatus
(
*
Read
)
();
/* Read method */
pwr_tStatus
(
*
Write
)
();
/* Write method */
pwr_tStatus
(
*
Write
)
();
/* Write method */
pwr_tAddress
*
op
;
/* Pointer to card object */
pwr_tAddress
*
op
;
/* Pointer to card object */
pwr_tDlid
Dlid
;
/* Dlid fr card object pointer */
pwr_tDlid
Dlid
;
/* Dlid for card object pointer */
pwr_tUInt32
size
;
/* Size of card data area in byte */
pwr_tUInt32
offset
;
/* Offset to card data area in rack */
int
scan_interval
;
/* Interval between scans */
int
scan_interval
;
/* Interval between scans */
int
scan_interval_cnt
;
/* Counter to detect next time to scan */
int
scan_interval_cnt
;
/* Counter to detect next time to scan */
int
AgentControlled
;
/* TRUE if kontrolled by agent */
int
AgentControlled
;
/* TRUE if kontrolled by agent */
...
@@ -149,6 +154,8 @@ typedef struct s_Rack {
...
@@ -149,6 +154,8 @@ typedef struct s_Rack {
pwr_tStatus
(
*
Write
)
();
/* Write method */
pwr_tStatus
(
*
Write
)
();
/* Write method */
void
*
op
;
/* Pointer to rack object */
void
*
op
;
/* Pointer to rack object */
pwr_tDlid
Dlid
;
/* Dlid fr rack object pointer */
pwr_tDlid
Dlid
;
/* Dlid fr rack object pointer */
pwr_tUInt32
size
;
/* Size of rack data area in byte */
pwr_tUInt32
offset
;
/* Offset to rack data area in agent */
int
scan_interval
;
/* Interval between scans */
int
scan_interval
;
/* Interval between scans */
int
scan_interval_cnt
;
/* Counter to detect next time to scan */
int
scan_interval_cnt
;
/* Counter to detect next time to scan */
int
AgentControlled
;
/* TRUE if kontrolled by agent */
int
AgentControlled
;
/* TRUE if kontrolled by agent */
...
...
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