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
a39e699c
Commit
a39e699c
authored
Apr 26, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libbpmclient: add new si57x_get_freq ()
parent
02b19d6b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
bpm_client_core.h
src/libs/libbpmclient/include/bpm_client_core.h
+4
-2
bpm_client_core.c
src/libs/libbpmclient/src/bpm_client_core.c
+9
-3
No files found.
src/libs/libbpmclient/include/bpm_client_core.h
View file @
a39e699c
...
@@ -369,8 +369,10 @@ bpm_client_err_e bpm_get_ad9510_pll_clk_sel (bpm_client_t *self, char *service,
...
@@ -369,8 +369,10 @@ bpm_client_err_e bpm_get_ad9510_pll_clk_sel (bpm_client_t *self, char *service,
/* FMC SI571 Control.
/* FMC SI571 Control.
* Returns BPM_CLIENT_SUCCESS if ok and BPM_CLIIENT_ERR_SERVER if
* Returns BPM_CLIENT_SUCCESS if ok and BPM_CLIIENT_ERR_SERVER if
* if server could not complete the request */
* if server could not complete the request */
bpm_client_err_e
bpm_set_si571_set_freq
(
bpm_client_t
*
self
,
char
*
service
,
bpm_client_err_e
bpm_set_si571_freq
(
bpm_client_t
*
self
,
char
*
service
,
double
si571_set_freq
);
double
si571_freq
);
bpm_client_err_e
bpm_get_si571_freq
(
bpm_client_t
*
self
,
char
*
service
,
double
*
si571_freq
);
bpm_client_err_e
bpm_set_si571_defaults
(
bpm_client_t
*
self
,
char
*
service
,
bpm_client_err_e
bpm_set_si571_defaults
(
bpm_client_t
*
self
,
char
*
service
,
double
si571_defaults
);
double
si571_defaults
);
...
...
src/libs/libbpmclient/src/bpm_client_core.c
View file @
a39e699c
...
@@ -584,10 +584,16 @@ PARAM_FUNC_CLIENT_READ(ad9510_pll_clk_sel)
...
@@ -584,10 +584,16 @@ PARAM_FUNC_CLIENT_READ(ad9510_pll_clk_sel)
}
}
/* SI571 Set frequency */
/* SI571 Set frequency */
PARAM_FUNC_CLIENT_WRITE_DOUBLE
(
si571_
set_
freq
)
PARAM_FUNC_CLIENT_WRITE_DOUBLE
(
si571_freq
)
{
{
return
param_client_write_double
(
self
,
service
,
FMC_ACTIVE_CLK_OPCODE_SI571_SET_FREQ
,
return
param_client_write_double
(
self
,
service
,
FMC_ACTIVE_CLK_OPCODE_SI571_FREQ
,
si571_set_freq
);
si571_freq
);
}
PARAM_FUNC_CLIENT_READ_DOUBLE
(
si571_freq
)
{
return
param_client_read_double
(
self
,
service
,
FMC_ACTIVE_CLK_OPCODE_SI571_FREQ
,
si571_freq
);
}
}
/* SI571 Get defaults */
/* SI571 Get defaults */
...
...
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