On 08/29/2011 09:43 AM, yi zheng wrote:
>    Hi,all
>      I want to write a Xenomai application running in user space that can
> access the
> GPIO pins of my AT91SAM9263 ARM. To get the memory
> region I found the function rt_misc_get_io_region(). Unfortunately
> there is no discription of this function in the API documentation.
> Does this function work like request_mem_region()?

Yes, it allows user-space access to request_mem_region. So, in addition
to this, you should do the usual mmap(/dev/mem) dance. However, it is
probably better to write an RTDM driver using linux gpiolib. This way,
you get mutual exclusion between linux and xenomai.

-- 
                                                                Gilles.

_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to