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
e6af5e1c
Commit
e6af5e1c
authored
Mar 24, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libs/libbpmclient/*: add independent testmode function for each ADC
parent
1dd90fe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
5 deletions
+29
-5
bpm_client_core.h
src/libs/libbpmclient/include/bpm_client_core.h
+8
-2
bpm_client_core.c
src/libs/libbpmclient/src/bpm_client_core.c
+21
-3
No files found.
src/libs/libbpmclient/include/bpm_client_core.h
View file @
e6af5e1c
...
...
@@ -391,8 +391,14 @@ bpm_client_err_e bpm_set_rst_div_adcs (bpm_client_t *self, char *service,
bpm_client_err_e
bpm_get_rst_div_adcs
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
*
rst_div_adcs
);
bpm_client_err_e
bpm_set_test_mode
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
test_mode
);
bpm_client_err_e
bpm_set_test_mode0
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
test_mode0
);
bpm_client_err_e
bpm_set_test_mode1
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
test_mode1
);
bpm_client_err_e
bpm_set_test_mode2
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
test_mode2
);
bpm_client_err_e
bpm_set_test_mode3
(
bpm_client_t
*
self
,
char
*
service
,
uint32_t
test_mode3
);
/********************** ACQ SMIO Functions ********************/
...
...
src/libs/libbpmclient/src/bpm_client_core.c
View file @
e6af5e1c
...
...
@@ -883,10 +883,28 @@ PARAM_FUNC_CLIENT_READ(rst_div_adcs)
}
/* ISLA216P Test modes */
PARAM_FUNC_CLIENT_WRITE
(
test_mode
)
PARAM_FUNC_CLIENT_WRITE
(
test_mode
0
)
{
return
param_client_write
(
self
,
service
,
FMC250M_4CH_OPCODE_TESTMODE
,
test_mode
);
return
param_client_write
(
self
,
service
,
FMC250M_4CH_OPCODE_TESTMODE0
,
test_mode0
);
}
PARAM_FUNC_CLIENT_WRITE
(
test_mode1
)
{
return
param_client_write
(
self
,
service
,
FMC250M_4CH_OPCODE_TESTMODE1
,
test_mode1
);
}
PARAM_FUNC_CLIENT_WRITE
(
test_mode2
)
{
return
param_client_write
(
self
,
service
,
FMC250M_4CH_OPCODE_TESTMODE2
,
test_mode2
);
}
PARAM_FUNC_CLIENT_WRITE
(
test_mode3
)
{
return
param_client_write
(
self
,
service
,
FMC250M_4CH_OPCODE_TESTMODE3
,
test_mode3
);
}
/****************** ACQ SMIO 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