Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
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
White Rabbit Switch - Software
Commits
859794c5
Commit
859794c5
authored
Dec 18, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
softpll: make PPS 10ms wide
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
759372ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
softpll_ng.c
rt/softpll/softpll_ng.c
+2
-1
No files found.
rt/softpll/softpll_ng.c
View file @
859794c5
...
...
@@ -323,7 +323,8 @@ void spll_init(int mode, int slave_ref_channel, int align_pps)
SPLL
->
DEGLITCH_THR
=
1000
;
PPSG
->
ESCR
=
0
;
PPSG
->
CR
=
PPSG_CR_CNT_EN
|
PPSG_CR_CNT_RST
|
PPSG_CR_PWIDTH_W
(
100
);
PPSG
->
CR
=
PPSG_CR_CNT_EN
|
PPSG_CR_CNT_RST
|
PPSG_CR_PWIDTH_W
(
10
*
1000
*
1000
/
16
/* 10ms */
);
if
(
mode
==
SPLL_MODE_GRAND_MASTER
)
{
...
...
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