From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28455 invoked by alias); 13 May 2014 14:17:55 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 28283 invoked by uid 89); 13 May 2014 14:17:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: mail1.bemta7.messagelabs.com Received: from mail1.bemta7.messagelabs.com (HELO mail1.bemta7.messagelabs.com) (216.82.254.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 13 May 2014 14:17:52 +0000 Received: from [216.82.253.227:28708] by server-11.bemta-7.messagelabs.com id 16/29-21432-D8922735; Tue, 13 May 2014 14:17:49 +0000 X-Env-Sender: Keith.Smith@PERKINELMER.COM X-Msg-Ref: server-4.tower-170.messagelabs.com!1399990656!17743642!2 X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 17171 invoked from network); 13 May 2014 14:17:39 -0000 Received: from 165-88-73-49.perkinelmer.com (HELO AMERSMTP1.PERKINELMER.COM) (165.88.73.49) by server-4.tower-170.messagelabs.com with AES128-SHA encrypted SMTP; 13 May 2014 14:17:39 -0000 Received: from AMERMBX01.PERKINELMER.NET ([165.88.73.89]) by AMERHUB02.PERKINELMER.NET ([fe80::686e:d42:8c02:6080%14]) with mapi id 14.03.0174.001; Tue, 13 May 2014 10:17:37 -0400 From: "Smith, Keith" To: "ecos-discuss@ecos.sourceware.org" Date: Tue, 13 May 2014 14:17:00 -0000 Message-ID: <9D93D31BB52B5F4E8F2E1720681CFFA4767EB358@amermbx01.perkinelmer.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [ECOS] Documentation - Function cyg_interrupt_configure(...) X-SW-Source: 2014-05/txt/msg00000.txt.bz2 For cyg_interrupt_configure(...) the documentation and the comments for the= *.h declaration of cyg_interrupt_configure simply says argument 'level' se= ts 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 int= errupt. Setting 'level' to false enables edge triggering of the interrupt. Ditto for 'up'. Keith M Smith PerkinElmer -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss