pub struct L6470 { /* private fields */ }Implementations§
Source§impl L6470
impl L6470
pub fn init(&self)
pub fn init_speed(&self)
pub fn get_status(&self, motors: Motors)
pub fn send_run(&self, motors: Motors, dir: Direction, speed: u32)
pub fn send_go_until(&self, motors: Motors, dir: Direction, speed: u32)
pub fn send_reset(&self, motors: Motors)
pub fn resync_com(&self)
pub fn send_byte(&self, motors: Motors, byte: u8)
pub fn write_register(&self, motors: Motors, reg: &Register, value: u32)
pub fn transfer(&self, input: &[u8]) -> Result<Vec<u8>>
Auto Trait Implementations§
impl Freeze for L6470
impl RefUnwindSafe for L6470
impl Send for L6470
impl Sync for L6470
impl Unpin for L6470
impl UnwindSafe for L6470
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