Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Starting Kit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
White Rabbit Starting Kit
Commits
07bd2158
Commit
07bd2158
authored
Dec 14, 2020
by
Jorge Machado
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dio_extension' of
https://ohwr.org/project/wr-starting-kit
into dio_extension
parents
c822b0d8
981e6739
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
wr-starting-kit.md
doc/wr-starting-kit.md
+7
-4
No files found.
doc/wr-starting-kit.md
View file @
07bd2158
...
...
@@ -1499,7 +1499,7 @@ interrupts are by default generated each time a pulse is transmitted or received
>:$ sudo wr-dio-cmd /dev/fmc-dio-1:0 stamp 0
## Enable interrupts in channel 0
>:$ sudo wr-dio-cmd /dev/fmc-dio-1:0 mask_irq
1
Y
>:$ sudo wr-dio-cmd /dev/fmc-dio-1:0 mask_irq
0
Y
## Observe that timestamps are available on ch0 again
>:$ sudo wr-dio-cmd /dev/fmc-dio-1:0 stamp 0
...
...
@@ -1513,7 +1513,7 @@ you should observe interrupts coming from `spec-1:0-gpio-irq`.
The [FMCDIO] project includes an interrupt demo software that illustrates
operation of the interrupt channel. It can be found in `fmc-dio/sw/`.
This demo software disables the interrupts of all the physical channels
except
This demo software disables the interrupts of all the physical channels
but not the one dedicated to interrupts. By default, it configures generation of
a interrupt every 100 millisecond. The tool displays the total number of
interrupts and the number of interrupts per second, as well as some statistics
...
...
@@ -1532,10 +1532,13 @@ of this time difference is displayed by the software.
>:$ make
## Generate one interrupt each 100 ms
>:$ sudo irq-demo -f /dev/fmc-dio-1:0
>:$ sudo
./
irq-demo -f /dev/fmc-dio-1:0
## Generate one interrupt each 10 ms
>:$ sudo irq-demo -f /dev/fmc-dio-1:0 -p 10000000
>:$ sudo ./irq-demo -f /dev/fmc-dio-1:0 -p 10000000
## Generate one interrupt each 10 ms using MONOTONIC time instead of REALTIME (default)
>:$ sudo ./irq-demo -f /dev/fmc-dio-1:0 -p 10000000 -c MONOTONIC
~~~
~~~~~
> ***Note:*** See more information in the [FMCDIO] manual in `fmc-dio/doc/irq-demo`.
...
...
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