From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1980 invoked by alias); 24 Mar 2013 12:18:14 -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 1175 invoked by uid 89); 24 Mar 2013 12:18:05 -0000 X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL autolearn=no version=3.3.1 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sun, 24 Mar 2013 12:18:02 +0000 Received: from tom.nabble.com ([192.168.236.105]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UJjs8-0005vQ-Mh for ecos-discuss@ecos.sourceware.org; Sun, 24 Mar 2013 05:18:00 -0700 Date: Sun, 24 Mar 2013 12:18:00 -0000 From: EnneGi To: ecos-discuss@ecos.sourceware.org Message-ID: <1364127480690-226305.post@n7.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [ECOS] [LPC1766] Access to GPIO registers X-SW-Source: 2013-03/txt/msg00056.txt.bz2 Hi all, I want to write in a register of my board (lpc1768) using ecos for lpc1766. It's right that I use HAL_WRITE_UINT32(register, value) for it? According to the datasheet, I must write in an address (0x400...) the value 0xFFFF in order to reset the GPIO; it's the right way? This is for gpio drivers, because I want to reproduce the behaviour of my firmware (setting the GPIO writing in register of GPIO). Thanks! -- View this message in context: http://sourceware-org.1504.n7.nabble.com/LPC1766-Access-to-GPIO-registers-tp226305.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss