SPI1

Type Alias SPI1 

Source
pub type SPI1 = Periph<RegisterBlock, 1073819648>;
Expand description

Serial peripheral interface

See peripheral structure

Aliased Type§

pub struct SPI1 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for SPI1

Source§

fn enable(rcc: &mut RCC)

Enables peripheral
Source§

fn disable(rcc: &mut RCC)

Disables peripheral
Source§

fn is_enabled() -> bool

Check if peripheral enabled
Source§

fn is_disabled() -> bool

Check if peripheral disabled
Source§

unsafe fn enable_unchecked()

Safety Read more
Source§

unsafe fn disable_unchecked()

Safety Read more
Source§

impl LPEnable for SPI1

Source§

fn enable_in_low_power(rcc: &mut RCC)

Enables peripheral in low power mode
Source§

fn disable_in_low_power(rcc: &mut RCC)

Disables peripheral in low power mode
Source§

fn is_enabled_in_low_power() -> bool

Check if peripheral enabled in low power mode
Source§

fn is_disabled_in_low_power() -> bool

Check if peripheral disabled in low power mode
Source§

unsafe fn enable_in_low_power_unchecked()

Safety Read more
Source§

unsafe fn disable_in_low_power_unchecked()

Safety Read more
Source§

impl PeriAddress for SPI1

Source§

type MemSize = u8

Memory size of the peripheral.
Source§

fn address(&self) -> u32

Returns the address to be used by the DMA stream.
Source§

impl RccBus for SPI1

Source§

type Bus = APB2

Bus type;
Source§

impl Reset for SPI1

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl SpiCommon for SPI1

Source§

impl DMASet<StreamX<Periph<RegisterBlock, 1073898496>, 0>, 3, PeripheralToMemory> for SPI1

Source§

impl DMASet<StreamX<Periph<RegisterBlock, 1073898496>, 2>, 3, PeripheralToMemory> for SPI1

Source§

impl DMASet<StreamX<Periph<RegisterBlock, 1073898496>, 3>, 3, MemoryToPeripheral> for SPI1

Source§

impl DMASet<StreamX<Periph<RegisterBlock, 1073898496>, 5>, 3, MemoryToPeripheral> for SPI1

Source§

impl Instance for SPI1