[−][src]Struct imxrt1062_hal::spi::Builder
A SPI builder that can build a SPI peripheral
Methods
impl<M> Builder<M> where
M: Module,
[src]
M: Module,
pub fn build<SDO, SDI, SCK>(self, sdo: SDO, sdi: SDI, sck: SCK) -> SPI<M> where
SDO: Pin<Module = M, Wire = SDO> + IntoDaisy,
SDI: Pin<Module = M, Wire = SDI> + IntoDaisy,
SCK: Pin<Module = M, Wire = SCK> + IntoDaisy,
[src]
SDO: Pin<Module = M, Wire = SDO> + IntoDaisy,
SDI: Pin<Module = M, Wire = SDI> + IntoDaisy,
SCK: Pin<Module = M, Wire = SCK> + IntoDaisy,
Builds a SPI peripheral from the SDO, SDI and SCK pins. The return is a configured SPI master running at 8MHz.
Auto Trait Implementations
impl<M> !Send for Builder<M>
impl<M> !Sync for Builder<M>
impl<M> Unpin for Builder<M> where
M: Unpin,
M: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,