Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
d8be9e5b
Commit
d8be9e5b
authored
Sep 20, 2012
by
Tomasz Wlostowski
Committed by
Grzegorz Daniluk
Sep 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev/pps_gen.c: enable timing output (not only PPS) when synced
Signed-off-by:
Grzegorz Daniluk
<
grzegorz.daniluk@cern.ch
>
parent
af10e6ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pps_gen.c
dev/pps_gen.c
+2
-2
No files found.
dev/pps_gen.c
View file @
d8be9e5b
...
@@ -112,9 +112,9 @@ int pps_gen_enable_output(int enable)
...
@@ -112,9 +112,9 @@ int pps_gen_enable_output(int enable)
{
{
uint32_t
escr
=
ppsg_read
(
ESCR
);
uint32_t
escr
=
ppsg_read
(
ESCR
);
if
(
enable
)
if
(
enable
)
ppsg_write
(
ESCR
,
escr
|
PPSG_ESCR_PPS_VALID
);
ppsg_write
(
ESCR
,
escr
|
PPSG_ESCR_PPS_VALID
|
PPSG_ESCR_TM_VALID
);
else
else
ppsg_write
(
ESCR
,
escr
&
~
PPSG_ESCR_PPS_VALID
);
ppsg_write
(
ESCR
,
escr
&
~
(
PPSG_ESCR_PPS_VALID
|
PPSG_ESCR_TM_VALID
)
);
return
0
;
return
0
;
}
}
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