pub struct AtmelTwi<M>where
M: MuxControl,{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<M> TwoWireMaster for AtmelTwi<M>where
M: MuxControl,
impl<M> TwoWireMaster for AtmelTwi<M>where
M: MuxControl,
source§fn command(&mut self, command: Command<'static>)
fn command(&mut self, command: Command<'static>)
Execute the command on the TWI bus. If the bus is busy, block until
it isn’t.
fn try_command( &mut self, command: Command<'static> ) -> OxideResult<(), (TwiError, Command<'static>)>
fn set_command_complete_callback(&self, callback: TwiCommandCompleteCallback)
Auto Trait Implementations§
impl<M> !Freeze for AtmelTwi<M>
impl<M> !RefUnwindSafe for AtmelTwi<M>
impl<M> !Send for AtmelTwi<M>
impl<M> !Sync for AtmelTwi<M>
impl<M> Unpin for AtmelTwi<M>where
M: Unpin,
impl<M> !UnwindSafe for AtmelTwi<M>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more