Struct rp2040_pac2::spi::Spi[][src]

pub struct Spi(pub *mut u8);

Implementations

impl Spi[src]

pub fn sspcr0(self) -> Reg<Sspcr0, RW>[src]

Control register 0, SSPCR0 on page 3-4

pub fn sspcr1(self) -> Reg<Sspcr1, RW>[src]

Control register 1, SSPCR1 on page 3-5

pub fn sspdr(self) -> Reg<Sspdr, RW>[src]

Data register, SSPDR on page 3-6

pub fn sspsr(self) -> Reg<Sspsr, RW>[src]

Status register, SSPSR on page 3-7

pub fn sspcpsr(self) -> Reg<Sspcpsr, RW>[src]

Clock prescale register, SSPCPSR on page 3-8

pub fn sspimsc(self) -> Reg<Sspimsc, RW>[src]

Interrupt mask set or clear register, SSPIMSC on page 3-9

pub fn sspris(self) -> Reg<Sspris, RW>[src]

Raw interrupt status register, SSPRIS on page 3-10

pub fn sspmis(self) -> Reg<Sspmis, RW>[src]

Masked interrupt status register, SSPMIS on page 3-11

pub fn sspicr(self) -> Reg<Sspicr, RW>[src]

Interrupt clear register, SSPICR on page 3-11

pub fn sspdmacr(self) -> Reg<Sspdmacr, RW>[src]

DMA control register, SSPDMACR on page 3-12

pub fn sspperiphid0(self) -> Reg<Sspperiphid0, RW>[src]

Peripheral identification registers, SSPPeriphID0-3 on page 3-13

pub fn sspperiphid1(self) -> Reg<Sspperiphid1, RW>[src]

Peripheral identification registers, SSPPeriphID0-3 on page 3-13

pub fn sspperiphid2(self) -> Reg<Sspperiphid2, RW>[src]

Peripheral identification registers, SSPPeriphID0-3 on page 3-13

pub fn sspperiphid3(self) -> Reg<Sspperiphid3, RW>[src]

Peripheral identification registers, SSPPeriphID0-3 on page 3-13

pub fn ssppcellid0(self) -> Reg<Ssppcellid0, RW>[src]

PrimeCell identification registers, SSPPCellID0-3 on page 3-16

pub fn ssppcellid1(self) -> Reg<Ssppcellid1, RW>[src]

PrimeCell identification registers, SSPPCellID0-3 on page 3-16

pub fn ssppcellid2(self) -> Reg<Ssppcellid2, RW>[src]

PrimeCell identification registers, SSPPCellID0-3 on page 3-16

pub fn ssppcellid3(self) -> Reg<Ssppcellid3, RW>[src]

PrimeCell identification registers, SSPPCellID0-3 on page 3-16

Trait Implementations

impl Clone for Spi[src]

impl Copy for Spi[src]

impl Send for Spi[src]

impl Sync for Spi[src]

Auto Trait Implementations

impl Unpin for Spi

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.