source: rtems-docs/bsp-howto/spi.rst @ 969e60e

5
Last change on this file since 969e60e was cb0f55a, checked in by Sebastian Huber <sebastian.huber@…>, on 04/26/18 at 07:05:20

Update due to BSP source reorganization

This patch is a part of the BSP source reorganization.

Close #3285.

  • Property mode set to 100644
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
6SPI Driver
7**********
8
9The 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>`_.
12For
13example drivers see the
14`Atmel SAM SPI driver <https://git.rtems.org/rtems/tree/bsps/arm/atsam/spi/atsam_spi_bus.c>`_
15and the
16`SPI framework test <https://git.rtems.org/rtems/tree/testsuites/libtests/spi01/init.c>`_.
17
18The 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.