Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Beam Positoning Monitor - Software
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Beam Positoning Monitor - Software
Commits
43330bf3
Commit
43330bf3
authored
8 years ago
by
Lucas Russo
Browse files
Options
Downloads
Patches
Plain Diff
sm_io/*/trigger_mux/*: default SW_CLK trigger channel to DSP CLK
parent
bc3db3c6
Branches
trig-rcv
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sm_io/modules/trigger_mux/sm_io_trigger_mux_defaults.c
+10
-0
10 additions, 0 deletions
src/sm_io/modules/trigger_mux/sm_io_trigger_mux_defaults.c
src/sm_io/modules/trigger_mux/sm_io_trigger_mux_defaults.h
+7
-0
7 additions, 0 deletions
src/sm_io/modules/trigger_mux/sm_io_trigger_mux_defaults.h
with
17 additions
and
0 deletions
src/sm_io/modules/trigger_mux/sm_io_trigger_mux_defaults.c
+
10
−
0
View file @
43330bf3
...
...
@@ -64,6 +64,16 @@ smio_err_e trigger_mux_config_defaults (char *broker_endp, char *service,
client_err
|=
bpm_set_trigger_transm_out_sel
(
config_client
,
service
,
chan
,
TRIGGER_MUX_DFLT_TRANSM_IN_SEL
);
}
/* Switching Trigger. Change it to correct parameters */
client_err
=
bpm_set_trigger_rcv_src
(
config_client
,
service
,
TRIGGER_MUX_SW_CLK_CHAN
,
TRIGGER_MUX_SW_CLK_DFLT_RCV_SRC
);
client_err
|=
bpm_set_trigger_rcv_in_sel
(
config_client
,
service
,
TRIGGER_MUX_SW_CLK_CHAN
,
TRIGGER_MUX_SW_CLK_DFLT_RCV_IN_SEL
);
client_err
|=
bpm_set_trigger_transm_src
(
config_client
,
service
,
TRIGGER_MUX_SW_CLK_CHAN
,
TRIGGER_MUX_SW_CLK_DFLT_TRANSM_SRC
);
client_err
|=
bpm_set_trigger_transm_out_sel
(
config_client
,
service
,
TRIGGER_MUX_SW_CLK_CHAN
,
TRIGGER_MUX_SW_CLK_DFLT_TRANSM_IN_SEL
);
ASSERT_TEST
(
client_err
==
BPM_CLIENT_SUCCESS
,
"Could set trigger mux defaults"
,
err_param_set
,
SMIO_ERR_CONFIG_DFLT
);
...
...
This diff is collapsed.
Click to expand it.
src/sm_io/modules/trigger_mux/sm_io_trigger_mux_defaults.h
+
7
−
0
View file @
43330bf3
...
...
@@ -15,6 +15,13 @@
#define TRIGGER_MUX_DFLT_TRANSM_SRC 0
/* Trigger Backplane */
#define TRIGGER_MUX_DFLT_TRANSM_IN_SEL 0
/* Trigger Index 0 */
/* FIXME. This shoulw be somewhere else*/
#define TRIGGER_MUX_SW_CLK_CHAN 17
/* Trigger Channel */
#define TRIGGER_MUX_SW_CLK_DFLT_RCV_SRC 1
/* FPGA Internal */
#define TRIGGER_MUX_SW_CLK_DFLT_RCV_IN_SEL 1
/* Trigger Index 1 */
#define TRIGGER_MUX_SW_CLK_DFLT_TRANSM_SRC 0
/* FPGA Internal */
#define TRIGGER_MUX_SW_CLK_DFLT_TRANSM_IN_SEL 0
/* Trigger Index 0 */
smio_err_e
trigger_mux_config_defaults
(
char
*
broker_endp
,
char
*
service
,
const
char
*
log_file_name
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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