Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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 ADC 100M 14b 4cha - Software
Commits
6ad6319f
Commit
6ad6319f
authored
Oct 30, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: document FMCADC_F_FLUSH for open and acq_start
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
85da005d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
fmc-adc-api.in
doc/fmc-adc-api.in
+16
-5
No files found.
doc/fmc-adc-api.in
View file @
6ad6319f
...
...
@@ -35,7 +35,7 @@
@setchapternewpage off
@set update-month
July
2013
@set update-month
October
2013
@set release
__
RELEASE
_
GIT
_
ID
__
@finalout
...
...
@@ -293,9 +293,14 @@ This is the meaning of the various arguments:
requires all buffers to be available at the same time. Again, this
information may require device-level configuration at open time.
@findex FMCADC
_
F
_
FLUSH
@item flags
This argument is currently unused, but some driver may need to
This argument is used to pass user flags. The library currently
supports @t
{
FMCADC
_
F
_
FLUSH
}
, that reads and discards any
input samples possibly left over by a previous acquisition.
currently unused, but some driver may need to
have some more information, or flags, at open time.
@end table
...
...
@@ -404,7 +409,9 @@ The @i{start} function tells hardware to start acquisition according
to the current configuration (but starting in itself is usually a fast
operation, because it doesn't rewrite configuration to the
hardware, at least with currently supported boards). It can return
immediately or wait for completion, with a timeout.
immediately or wait for completion, with a timeout. The function supports
@t
{
FMCADC
_
F
_
FLUSH
}
, to discard previous leftover data before activating
the acquisition, if any is there.
@findex fmcadc
_
acq
_
poll
The @i
{
poll
}
function waits for acquisition to complete. Again, it
...
...
@@ -426,8 +433,12 @@ This is the meaning of the arguments:
@item flags
Flags to request special actions. Currently no flag is defined,
and 0 will always select the default behavior. For example, we
Flags to request special actions.
0 always selects the default behavior. Currently, the @i
{
start
}
function supports @t
{
FMCADC
_
F
_
FLUSH
}
-- this is not
supported by the @i
{
poll
}
function, because after telling hardware
to start I/O we cannot safely discard ``old'' data.
Flags can be used for other things: for example, we
may soon define a flags to automatically enable a new acquisition
when the previous one is over, for stream-like applications.
(In that case after each successful @i
{
poll
}
the next call would
...
...
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