Commit 708189b9 authored by Jorge Machado's avatar Jorge Machado

Add demo-irq doc

parent 0d746603
......@@ -785,6 +785,38 @@ with a delay of 1ms. The input events in this case are from a @i{pulse-per-secon
ch 4, 388.001000000
@end smallexample
@c ##########################################################################
@node Interrupt Demo
@chapter Interrupt Demo
The interrupt demo software can be found in the root directoy of the wr-starting-kit
repository.
This demo sofware disables the interrupts of all channel except the new one, only
dedicated to interrupts.
By default, it setups the interrupt with 100 milliseconds between them.
The tool provides the total number of interrupts, the interrupts per second and
some statistic information calculated with the difference between OS time and
WR time.
This is the general syntax of the command:
@table @code
@item demo-irq <dio-device> [<period in ns>]
@end table
Example uses of the tool follow:
@example
# Generate one interrupt each 100 ms
demo-irq /dev/fmc-dio-1:0
# Generate one interrupt each 10 ms
demo-irq /dev/fmc-dio-1:0 10000000
@end example
@c ##########################################################################
@node Bugs and Missing Features
@chapter Bugs and Missing Features
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment