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.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to