Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - 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
FMC TDC 1ns 5cha - Software
Commits
b71af2ab
Commit
b71af2ab
authored
Sep 11, 2018
by
Tomasz Wlostowski
Committed by
Federico Vaga
Sep 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: removed gseq_id, pass MSBs of the frac field as a debugging info
parent
0528ca9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fmctdc-lib.c
lib/fmctdc-lib.c
+2
-1
fmctdc-lib.h
lib/fmctdc-lib.h
+1
-2
No files found.
lib/fmctdc-lib.c
View file @
b71af2ab
...
@@ -611,7 +611,8 @@ static void fmctdc_ts_convert(struct fmctdc_time *t, struct ft_hw_timestamp *o)
...
@@ -611,7 +611,8 @@ static void fmctdc_ts_convert(struct fmctdc_time *t, struct ft_hw_timestamp *o)
{
{
t
->
seconds
=
o
->
seconds
;
t
->
seconds
=
o
->
seconds
;
t
->
coarse
=
o
->
coarse
;
t
->
coarse
=
o
->
coarse
;
t
->
frac
=
o
->
frac
;
t
->
frac
=
o
->
frac
&
0xfff
;
t
->
debug
=
o
->
frac
>>
12
;
t
->
seq_id
=
FT_HW_TS_META_SEQ
(
o
->
metadata
);
t
->
seq_id
=
FT_HW_TS_META_SEQ
(
o
->
metadata
);
}
}
...
...
lib/fmctdc-lib.h
View file @
b71af2ab
...
@@ -87,8 +87,7 @@ struct fmctdc_time {
...
@@ -87,8 +87,7 @@ struct fmctdc_time {
to (0..4095) range - i.e. 0 = 0 ns, and
to (0..4095) range - i.e. 0 = 0 ns, and
4095 = 7.999 ns. */
4095 = 7.999 ns. */
uint32_t
seq_id
;
/**< channel sequence number*/
uint32_t
seq_id
;
/**< channel sequence number*/
uint32_t
ref_gseq_id
;
/**< board sequence number of the reference
uint32_t
debug
;
/**< debug stuff, driver/firmware-specific */
channel time-stamp */
};
};
...
...
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