pub struct Moxtet { /* private fields */ }Implementations§
Source§impl Moxtet
impl Moxtet
Sourcepub fn discover_topology(&mut self, spi_data: &[u8])
pub fn discover_topology(&mut self, spi_data: &[u8])
Performs the discover topology operation.
Sourcepub fn module_read(&self, index: usize) -> Result<u8, BusError>
pub fn module_read(&self, index: usize) -> Result<u8, BusError>
Performs the module read operation.
Sourcepub fn module_write(&mut self, index: usize, value: u8) -> Result<(), BusError>
pub fn module_write(&mut self, index: usize, value: u8) -> Result<(), BusError>
Performs the module write operation.
Sourcepub fn set_irq_mask(&mut self, index: usize, masked: bool)
pub fn set_irq_mask(&mut self, index: usize, masked: bool)
Sets irq mask.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Moxtet
impl RefUnwindSafe for Moxtet
impl Send for Moxtet
impl Sync for Moxtet
impl Unpin for Moxtet
impl UnsafeUnpin for Moxtet
impl UnwindSafe for Moxtet
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