Module sam4l::spi [] [src]

Implementation of DMA-based SPI master and slave communication for the SAM4L.

Driver for the SPI hardware (separate from the USARTS), described in chapter 26 of the datasheet.

Reexports

use core::cell::Cell;
use core::cmp;
use dma::DMAChannel;
use dma::DMAClient;
use dma::DMAPeripheral;
use kernel::ReturnCode;
use kernel::common::regs;
use kernel::common::regs::ReadOnly;
use kernel::common::regs::ReadWrite;
use kernel::common::regs::WriteOnly;
use kernel::hil::spi;
use kernel::hil::spi::ClockPhase;
use kernel::hil::spi::ClockPolarity;
use kernel::hil::spi::SpiMasterClient;
use kernel::hil::spi::SpiSlaveClient;
use pm;

Modules

ChipSelectParams
Control
InterruptFlags
Mode

Mode of the SPI peripheral.

Status
TransmitData
WriteProtectionControl
spi_consts

Structs

Registers
Spi

The SAM4L supports four peripherals.

Enums

Peripheral

Values for selected peripherals

SpiRole

Constants

SPI_BASE

Statics

SPI