Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
e6833c94
Commit
e6833c94
authored
Sep 30, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libs/libbpmclient/*: add acquisition FSM stop command
parent
555cfc75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
bpm_client_core.h
src/libs/libbpmclient/include/bpm_client_core.h
+9
-0
bpm_client_core.c
src/libs/libbpmclient/src/bpm_client_core.c
+14
-0
No files found.
src/libs/libbpmclient/include/bpm_client_core.h
View file @
e6833c94
...
...
@@ -521,6 +521,15 @@ bpm_client_err_e bpm_set_acq_sw_trig (bpm_client_t *self, char *service,
bpm_client_err_e
bpm_get_acq_sw_trig
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
*
sw_trig
);
/* Stops the acquisition FSM. Options are: 1 stop the FSM, 0
* generates nothing.
* Returns BPM_CLIENT_SUCCESS if the trigger was correctly set or
* or an error (see bpm_client_err.h for all possible errors)*/
bpm_client_err_e
bpm_set_acq_fsm_stop
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
fsm_stop
);
bpm_client_err_e
bpm_get_acq_fsm_stop
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
*
fsm_stop
);
/********************** DSP Functions ********************/
/* K<direction> functions */
...
...
src/libs/libbpmclient/src/bpm_client_core.c
View file @
e6833c94
...
...
@@ -1024,6 +1024,20 @@ bpm_client_err_e bpm_get_acq_sw_trig (bpm_client_t *self, char *service,
sw_trig
);
}
bpm_client_err_e
bpm_set_acq_fsm_stop
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
fsm_stop
)
{
return
param_client_write
(
self
,
service
,
ACQ_OPCODE_FSM_STOP
,
fsm_stop
);
}
bpm_client_err_e
bpm_get_acq_fsm_stop
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
*
fsm_stop
)
{
return
param_client_read
(
self
,
service
,
ACQ_OPCODE_FSM_STOP
,
fsm_stop
);
}
static
bpm_client_err_e
_bpm_acq_start
(
bpm_client_t
*
self
,
char
*
service
,
acq_req_t
*
acq_req
)
{
assert
(
self
);
...
...
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