Struct ruduino::cores::atmega88a::Spi [−][src]
Trait Implementations
impl HardwareSpi for Spi
[src]
type SlaveSelect = B2
type MasterOutSlaveIn = B3
type MasterInSlaveOut = B4
type Clock = B5
type DataRegister = SPDR
The SPI data register.
type StatusRegister = SPSR
The SPI status register.
type ControlRegister = SPCR
The SPI control register.
fn setup_master(clock: u32)
[src]
fn setup_slave(clock: u32)
[src]
fn setup_common(clock: u32)
[src]
fn set_clock(clock: u32)
[src]
fn enable_interrupt()
[src]
fn disable_interrupt()
[src]
fn enable()
[src]
fn disable()
[src]
fn set_lsb()
[src]
fn set_msb()
[src]
fn set_master()
[src]
fn set_slave()
[src]
fn enable_double_speed()
[src]
fn disable_double_speed()
[src]
fn is_write_collision() -> bool
[src]
fn send_byte(byte: u8)
[src]
fn receive_byte() -> u8
[src]
fn send_receive(byte: u8) -> u8
[src]
Auto Trait Implementations
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,
pub 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, 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.
pub 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>,