source:
rtems-docs/bsp-howto/spi.rst
@
969e60e
Last change on this file since 969e60e was cb0f55a, checked in by Sebastian Huber <sebastian.huber@…>, on 04/26/18 at 07:05:20 | |
---|---|
|
|
File size: 680 bytes |
Line | |
---|---|
1 | .. comment SPDX-License-Identifier: CC-BY-SA-4.0 |
2 | |
3 | .. COMMENT: Copyright (c) 2016 embedded brains GmbH <rtems@embedded-brains.de> |
4 | .. COMMENT: All rights reserved. |
5 | |
6 | SPI Driver |
7 | ********** |
8 | |
9 | The Serial Peripheral Interface (SPI) bus drivers should use the |
10 | `SPI bus framework |
11 | <https://git.rtems.org/rtems/tree/cpukit/dev/include/dev/spi/spi.h>`_. |
12 | For |
13 | example drivers see the |
14 | `Atmel SAM SPI driver <https://git.rtems.org/rtems/tree/bsps/arm/atsam/spi/atsam_spi_bus.c>`_ |
15 | and the |
16 | `SPI framework test <https://git.rtems.org/rtems/tree/testsuites/libtests/spi01/init.c>`_. |
17 | |
18 | The user API is compatible to the |
19 | `Linux SPI user-space API <https://www.kernel.org/doc/Documentation/spi/spidev>`_. |
Note: See TracBrowser
for help on using the repository browser.