Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
etherlabmaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
ICS Control System Infrastructure
etherlabmaster
Commits
8e1516a3
Commit
8e1516a3
authored
17 years ago
by
Florian Pose
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes.
parent
628427b4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ecrt.h
+7
-7
7 additions, 7 deletions
include/ecrt.h
with
7 additions
and
7 deletions
include/ecrt.h
+
7
−
7
View file @
8e1516a3
...
@@ -107,7 +107,7 @@ ec_bus_status_t;
...
@@ -107,7 +107,7 @@ ec_bus_status_t;
typedef
struct
{
typedef
struct
{
ec_bus_status_t
bus_status
;
/**< \see ec_bus_status_t */
ec_bus_status_t
bus_status
;
/**< \see ec_bus_status_t */
unsigned
int
bus_tainted
;
/**< non-zero, if the bus topology is invalid */
unsigned
int
bus_tainted
;
/**< non-zero, if the bus topology is invalid */
unsigned
int
slaves_responding
;
/**< number of respon
g
ing slaves */
unsigned
int
slaves_responding
;
/**< number of respon
d
ing slaves */
}
}
ec_master_status_t
;
ec_master_status_t
;
...
@@ -156,24 +156,24 @@ void ecrt_master_callbacks(ec_master_t *master, int (*request_cb)(void *),
...
@@ -156,24 +156,24 @@ void ecrt_master_callbacks(ec_master_t *master, int (*request_cb)(void *),
ec_domain_t
*
ecrt_master_create_domain
(
ec_master_t
*
master
);
ec_domain_t
*
ecrt_master_create_domain
(
ec_master_t
*
master
);
ec_slave_t
*
ecrt_master_get_slave
(
const
ec_master_t
*
,
const
char
*
,
ec_slave_t
*
ecrt_master_get_slave
(
const
ec_master_t
*
master
,
uint32_t
vendor_id
,
uint32_t
product_code
);
const
char
*
address
,
uint32_t
vendor_id
,
uint32_t
product_code
);
ec_slave_t
*
ecrt_master_get_slave_by_pos
(
const
ec_master_t
*
,
uint16_t
,
ec_slave_t
*
ecrt_master_get_slave_by_pos
(
const
ec_master_t
*
master
,
uint32_t
vendor_id
,
uint32_t
product_code
);
uint16_t
position
,
uint32_t
vendor_id
,
uint32_t
product_code
);
int
ecrt_master_activate
(
ec_master_t
*
master
);
int
ecrt_master_activate
(
ec_master_t
*
master
);
void
ecrt_master_send
(
ec_master_t
*
master
);
void
ecrt_master_send
(
ec_master_t
*
master
);
void
ecrt_master_receive
(
ec_master_t
*
master
);
void
ecrt_master_receive
(
ec_master_t
*
master
);
void
ecrt_master_get_status
(
const
ec_master_t
*
master
,
ec_master_status_t
*
);
void
ecrt_master_get_status
(
const
ec_master_t
*
master
,
ec_master_status_t
*
s
);
/******************************************************************************
/******************************************************************************
* Domain methods
* Domain methods
*****************************************************************************/
*****************************************************************************/
int
ecrt_domain_register_pdo
(
ec_domain_t
*
domain
,
ec_slave_t
*
slave
,
int
ecrt_domain_register_pdo
(
ec_domain_t
*
domain
,
ec_slave_t
*
slave
,
uint16_t
pdo_index
,
uint8_t
pdo_subindex
,
void
**
data_ptr
);
uint16_t
pdo_
entry_
index
,
uint8_t
pdo_
entry_
subindex
,
void
**
data_ptr
);
int
ecrt_domain_register_pdo_range
(
ec_domain_t
*
domain
,
ec_slave_t
*
slave
,
int
ecrt_domain_register_pdo_range
(
ec_domain_t
*
domain
,
ec_slave_t
*
slave
,
ec_direction_t
direction
,
uint16_t
offset
,
uint16_t
length
,
ec_direction_t
direction
,
uint16_t
offset
,
uint16_t
length
,
...
...
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