SPI2

Type Alias SPI2 

Source
pub type SPI2 = Periph<RegisterBlock, 1073756160>;
Expand description

Serial peripheral interface

See peripheral structure

Aliased Type§

pub struct SPI2 { /* private fields */ }

Trait Implementations§

Source§

impl Enable for SPI2

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 SPI2

Source§

type Bus = APB1

Bus type;
Source§

impl Reset for SPI2

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more
Source§

impl SpiCommon for SPI2

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
Source§

impl Instance for SPI2