public inbox for
 help / color / mirror / Atom feed
* [ECOS] Documentation - Function cyg_interrupt_configure(...)
@ 2014-05-13 14:17 Smith, Keith
  0 siblings, 0 replies; only message in thread
From: Smith, Keith @ 2014-05-13 14:17 UTC (permalink / raw)
  To: ecos-discuss

For cyg_interrupt_configure(...) the documentation and the comments for the *.h declaration of cyg_interrupt_configure simply says argument 'level' sets the trigger to be level or edge, and  argument 'up' sets rising/falling edge or high/low level.

The types of 'level' and 'up' are cyg_bool_t, true or false.

The text implies that the first item of the 'or' clause represent true and the second item false.

Is this correct?

It would be a lot clearer if the text stated 'level' is of type cyg_bool_t, true or false. Setting 'level' to true enables level triggering of the interrupt. Setting 'level' to false enables edge triggering of the interrupt.

Ditto for 'up'.

Keith M Smith

Before posting, please read the FAQ:
and search the list archive:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-13 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 14:17 [ECOS] Documentation - Function cyg_interrupt_configure(...) Smith, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).