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 RccBus for SPI1

Source§

type Bus = APB2

Bus type;
Source§

impl Remap for SPI1

Source§

type Mapr = MAPR

Source§

fn remap<const R: u8>(self, mapr: &mut Self::Mapr) -> Rmp<Self, R>

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§

type MSck = MSck

Master Serial Clock Read more
Source§

type SSck = SSck

Slave Serial Clock Read more
Source§

type Mi<PULL> = Mi<PULL>

Master In Read more
Source§

type So<Otype> = So<Otype>

Slave Out Read more
Source§

type Mo = Mo

Master Out Read more
Source§

type Si<PULL> = Si<PULL>

Slave In Read more
Source§

type Nss = Nss

HW Slave Select (output) Read more
Source§

type Ss<PULL> = Ss<PULL>

HW Slave Select (input) Read more