Struct stm32f30x_hal::spi::Spi [] [src]

pub struct Spi<SPI, PINS> { /* fields omitted */ }

SPI peripheral operating in full duplex master mode

Methods

impl<SCK, MISO, MOSI> Spi<SPI1, (SCK, MISO, MOSI)>
[src]

[src]

Configures the SPI peripheral to operate in full duplex master mode

[src]

Releases the SPI peripheral and associated pins

impl<SCK, MISO, MOSI> Spi<SPI2, (SCK, MISO, MOSI)>
[src]

[src]

Configures the SPI peripheral to operate in full duplex master mode

[src]

Releases the SPI peripheral and associated pins

impl<SCK, MISO, MOSI> Spi<SPI3, (SCK, MISO, MOSI)>
[src]

[src]

Configures the SPI peripheral to operate in full duplex master mode

[src]

Releases the SPI peripheral and associated pins

Trait Implementations

impl<PINS> FullDuplex<u8> for Spi<SPI1, PINS>
[src]

An enumeration of SPI errors

[src]

Reads the word stored in the shift register Read more

[src]

Sends a word to the slave

impl<PINS> Default<u8> for Spi<SPI1, PINS>
[src]

impl<PINS> Default<u8> for Spi<SPI1, PINS>
[src]

impl<PINS> FullDuplex<u8> for Spi<SPI2, PINS>
[src]

An enumeration of SPI errors

[src]

Reads the word stored in the shift register Read more

[src]

Sends a word to the slave

impl<PINS> Default<u8> for Spi<SPI2, PINS>
[src]

impl<PINS> Default<u8> for Spi<SPI2, PINS>
[src]

impl<PINS> FullDuplex<u8> for Spi<SPI3, PINS>
[src]

An enumeration of SPI errors

[src]

Reads the word stored in the shift register Read more

[src]

Sends a word to the slave

impl<PINS> Default<u8> for Spi<SPI3, PINS>
[src]

impl<PINS> Default<u8> for Spi<SPI3, PINS>
[src]

Auto Trait Implementations

impl<SPI, PINS> Send for Spi<SPI, PINS> where
    PINS: Send,
    SPI: Send

impl<SPI, PINS> Sync for Spi<SPI, PINS> where
    PINS: Sync,
    SPI: Sync