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
31
Issues
31
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
e3238ac8
Commit
e3238ac8
authored
Apr 26, 2012
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding include/softpll_ng.h
parent
04483303
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
softpll_ng.h
include/softpll_ng.h
+26
-0
No files found.
include/softpll_ng.h
0 → 100644
View file @
e3238ac8
#ifndef __SOFTPLL_NG_H
#define __SOFTPLL_NG_H
#include <stdio.h>
#include <stdlib.h>
/* Modes */
#define SPLL_MODE_GRAND_MASTER 1
#define SPLL_MODE_FREE_RUNNING_MASTER 2
#define SPLL_MODE_SLAVE 3
#define SPLL_MODE_DISABLED 4
void
spll_init
(
int
mode
,
int
slave_ref_channel
,
int
align_pps
);
void
spll_shutdown
();
void
spll_start_channel
(
int
channel
);
void
spll_stop_channel
(
int
channel
);
int
spll_check_lock
(
int
channel
);
void
spll_set_phase_shift
(
int
channel
,
int32_t
value_picoseconds
);
void
spll_get_phase_shift
(
int
channel
,
int32_t
*
current
,
int32_t
*
target
);
int
spll_read_ptracker
(
int
channel
,
int32_t
*
phase_ps
);
void
spll_get_num_channels
(
int
*
n_ref
,
int
*
n_out
);
int
spll_shifter_busy
(
int
channel
);
#endif
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