Re: Accessing SPI

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <CAMuHMdX6djPTJM+2Lf8dHGJHkeFF4WC7+qp0_FxydGGpX+h8oQ@mail.gmail.com>
On Wed, Jan 29, 2014 at 12:45 AM, Eric Fowler <[email protected]> wrote:
> I did find a file, linux/spi/spidev.h, that has a struct defined that seems
> to be used by user mode SPI code, but it is not clear how I am to use it, in
> particular, which IOCTLs are available, and how I can get access to the
> interface at low levels.

Please see the Linux kernel documentation, with examples:

    Documentation/spi/spidev
    Documentation/spi/spidev_fdx.c
    Documentation/spi/spidev_test.c

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.