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
d21a073e
Commit
d21a073e
authored
Oct 19, 2012
by
Aurelio Colosimo
Committed by
Alessandro Rubini
Feb 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused dev/timer.c
parent
0cadc6f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
timer.c
dev/timer.c
+0
-25
No files found.
dev/timer.c
deleted
100644 → 0
View file @
0cadc6f4
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include "board.h"
#include "timer.h"
uint32_t
timer_get_tics
()
{
return
*
(
volatile
uint32_t
*
)(
BASE_TIMER
);
}
void
timer_delay
(
uint32_t
how_long
)
{
uint32_t
t_start
;
t_start
=
timer_get_tics
();
while
(
t_start
+
how_long
>
timer_get_tics
())
;
}
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