Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
90272b82
Commit
90272b82
authored
Sep 17, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libs/libbpmclient/*: add MONIT update function support
parent
abddb82e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
bpm_client_core.h
src/libs/libbpmclient/include/bpm_client_core.h
+13
-0
bpm_client_core.c
src/libs/libbpmclient/src/bpm_client_core.c
+11
-0
No files found.
src/libs/libbpmclient/include/bpm_client_core.h
View file @
90272b82
...
@@ -593,6 +593,19 @@ bpm_client_err_e bpm_set_monit_amp_ch3 (bpm_client_t *self, char *service,
...
@@ -593,6 +593,19 @@ bpm_client_err_e bpm_set_monit_amp_ch3 (bpm_client_t *self, char *service,
bpm_client_err_e
bpm_get_monit_amp_ch3
(
bpm_client_t
*
self
,
char
*
service
,
bpm_client_err_e
bpm_get_monit_amp_ch3
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
*
monit_amp_ch3
);
uint32_t
*
monit_amp_ch3
);
/* Monitoring Update values */
/* These set of functions read (get) the Monitoring update value, which
* effectively updates the AMP/POS values in the FPGA. After this,
* reading AMP/POS values are guaranteed to stay fixed until the next
* update.
* All of the functions returns BPM_CLIENT_SUCCESS if the
* parameter was correctly set or error (see bpm_client_err.h
* for all possible errors)*/
bpm_client_err_e
bpm_set_monit_updt
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
monit_updt
);
bpm_client_err_e
bpm_get_monit_updt
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
*
monit_updt
);
/********************** SWAP Functions ********************/
/********************** SWAP Functions ********************/
/* Switching functions */
/* Switching functions */
...
...
src/libs/libbpmclient/src/bpm_client_core.c
View file @
90272b82
...
@@ -1373,6 +1373,17 @@ PARAM_FUNC_CLIENT_READ(monit_pos_sum)
...
@@ -1373,6 +1373,17 @@ PARAM_FUNC_CLIENT_READ(monit_pos_sum)
return
param_client_read
(
self
,
service
,
DSP_OPCODE_SET_GET_MONIT_POS_SUM
,
monit_pos_sum
);
return
param_client_read
(
self
,
service
,
DSP_OPCODE_SET_GET_MONIT_POS_SUM
,
monit_pos_sum
);
}
}
/* Monitoring Update value */
PARAM_FUNC_CLIENT_WRITE
(
monit_updt
)
{
return
param_client_write
(
self
,
service
,
DSP_OPCODE_SET_GET_MONIT_UPDT
,
monit_updt
);
}
PARAM_FUNC_CLIENT_READ
(
monit_updt
)
{
return
param_client_read
(
self
,
service
,
DSP_OPCODE_SET_GET_MONIT_UPDT
,
monit_updt
);
}
/**************** Swap SMIO Functions ****************/
/**************** Swap SMIO Functions ****************/
/* Switching functions */
/* Switching functions */
...
...
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