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