Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DIO 5ch TTL a
Commits
2d050d61
Commit
2d050d61
authored
Oct 21, 2020
by
Miguel Jimenez Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
irq-demo: Fix wrong comment and update demo section in doc
parent
848add07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fmc-dio.in
doc/fmc-dio.in
+3
-3
irq-demo.c
sw/irq-demo/irq-demo.c
+1
-1
No files found.
doc/fmc-dio.in
View file @
2d050d61
...
...
@@ -838,7 +838,7 @@ This is the general syntax of the command:
@table @code
@item irq
-
demo
<dio
-
device>
[
<period in ns>
]
@item irq
-
demo
-
f <dio
-
device>
[-
p
<period in ns>
]
@end table
...
...
@@ -846,10 +846,10 @@ Example uses of the tool follow:
@example
# Generate one interrupt each
100
ms
sudo irq
-
demo
/
dev
/
fmc
-
dio
-
1
:
0
sudo irq
-
demo
-
f
/
dev
/
fmc
-
dio
-
1
:
0
# Generate one interrupt each
10
ms
sudo irq
-
demo
/
dev
/
fmc
-
dio
-
1
:
0
10000000
sudo irq
-
demo
-
f
/
dev
/
fmc
-
dio
-
1
:
0
-
p
10000000
@end example
@c ##########################################################################
...
...
sw/irq-demo/irq-demo.c
View file @
2d050d61
...
...
@@ -33,7 +33,7 @@ static fmc_dio_device global_fmc_dev = NULL;
static
int
verbose_mode
=
0
;
/*
* irq-demo
/dev/<fmc-device-file> [
<irq period>]
* irq-demo
-f /dev/<fmc-device-file> [-p
<irq period>]
* To exit: Please press 'q' in the keyboard or send a stop signal (CNTR+C)
*
* This DEMO shows the behavior of the interrupts for the FMC DIO device. The basic operation
...
...
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