03-11-2009 02:32 PM
recently was following an Avnet tutorial for BlueCat and Petalinux, i am using BlueCat ME for Microblaze and for Spartan 3A 1800DSP.
in this tutorial come two examples of how use GPIOS, one using low level drivers (xilinx drivers) and another using OS layered drivers (linux drivers)
i know that is better programming with the OS layered drivers, because portability
but when i see the code to turn ON some leds and to read pushbuttons, i did not understand nothing!!!
in this code they use a struct calles ioctl
where can i learn to program with linux drivers??, to manipulate GPIOs, serial, i2c, spi, etc.
there is some book related to this topic??
i was looking for topic in the internet, but i was looking for "programming in linux", but only come how to program C or C++ in linux but nothing about how manipulate GPIO, serial, i2c, etc.
so any suggestion is welcome
thanks a lot