From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5064CCA2.5030901@xenomai.org> Date: Fri, 28 Sep 2012 00:01:06 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <506496C2.9030302@xenomai.org> <5064BFDB.1040906@xenomai.org> <5064C1CB.5070209@xenomai.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Error requesting IRQ on DM3730 (BeagleBoard xM) List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Nechypurenko Cc: xenomai@xenomai.org On 09/27/2012 11:24 PM, Andrey Nechypurenko wrote: >> You are really supposed to use the kernel API for these things, and not >> touch the registers directly. > > You are right and I will definitely change the pin configuration code. > It was just a very first quick prototype and I was unfamiliar with > corresponding kernel API. > > Is it also "safe" to use kernel GPIO API to toggle GPIO from RT > context such as timer handler? With safe I mean if it can influence > real-time performance in some negative way? Yes, it is supposed to be possible. -- Gilles.