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
29
Issues
29
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
73199cb2
Commit
73199cb2
authored
Nov 24, 2020
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev: decrease verbosity
parent
ec7eb6b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
ad9910.c
dev/ad9910.c
+0
-1
ltc695x.c
dev/ltc695x.c
+3
-4
No files found.
dev/ad9910.c
View file @
73199cb2
...
...
@@ -109,7 +109,6 @@ int ad9910_program( struct ad9910_device *dev, uint64_t ftw_n, int phase, int fs
{
r
.
value
&=
0xffffff00
;
r
.
value
|=
fs_current
;
// Aux DAC control: DAC Full scale current
// pp_printf("auxdac %08x\n", (uint32_t) r.value );
}
else
if
(
r
.
addr
==
0xe
)
// profile 0
r
.
value
=
prof0_cr
;
...
...
dev/ltc695x.c
View file @
73199cb2
...
...
@@ -38,7 +38,6 @@ uint8_t ltc695x_read(struct ltc695x_device *dev, uint32_t reg) {
rv
=
bb_spi_read
(
dev
->
bus
,
8
);
bb_spi_cs
(
dev
->
bus
,
0
);
pp_printf
(
"REad %x %x
\n
"
,
reg
,
rv
);
return
rv
;
}
...
...
@@ -109,7 +108,7 @@ int ltc6953_configure_output( struct ltc695x_device *dev, int output, int divide
uint8_t
div_mp
,
div_md
;
dev_dbg
(
"ltc6953 out %d div=%d inv=%d
\n
"
,
output
,
divider
,
invert
);
//
dev_dbg("ltc6953 out %d div=%d inv=%d\n", output, divider, invert );
switch
(
divider
)
{
...
...
@@ -127,8 +126,8 @@ int ltc6953_configure_output( struct ltc695x_device *dev, int output, int divide
int
base
=
(
output
*
4
+
0xc
);
dev_dbg
(
"ltc6953 r%02x = %02x
\n
"
,
base
+
0
,
or0
);
dev_dbg
(
"ltc6953 r%02x = %02x
\n
"
,
base
+
1
,
or1
);
//
dev_dbg("ltc6953 r%02x = %02x\n", base+0, or0 );
//
dev_dbg("ltc6953 r%02x = %02x\n", base+1, or1 );
ltc695x_write
(
dev
,
base
+
0
,
or0
);
ltc695x_write
(
dev
,
base
+
1
,
or1
);
...
...
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