Trait tmcl::Interface [] [src]

pub trait Interface {
    type Error;
    fn transmit_command<T: Instruction>(
        &mut self,
        command: &Command<T>
    ) -> Result<(), Self::Error>;
fn receive_reply(&mut self) -> Result<Reply, Self::Error>; }

A interface for a TMCM module

Can be RS232, RS485, CAN or I2C

Associated Types

Required Methods

Implementors