Trait trinamic::TMCLConnnection[][src]

pub trait TMCLConnnection {
    type SendFuture: Future<Output = ()>;
    type ReceiveFuture: Future<Output = [u8; 8]>;
    fn _send<'a>(
        &'a mut self,
        host_id: u16,
        module_id: u16,
        data: [u8; 8]
    ) -> Self::SendFuture;
fn _recv<'a>(
        &'a mut self,
        host_id: u16,
        module_id: u16
    ) -> Self::ReceiveFuture; }

Associated Types

type SendFuture: Future<Output = ()>[src]

type ReceiveFuture: Future<Output = [u8; 8]>[src]

Loading content...

Required methods

fn _send<'a>(
    &'a mut self,
    host_id: u16,
    module_id: u16,
    data: [u8; 8]
) -> Self::SendFuture
[src]

fn _recv<'a>(&'a mut self, host_id: u16, module_id: u16) -> Self::ReceiveFuture[src]

Loading content...

Implementors

impl<T: Instance + 'static> TMCLConnnection for BxCanInterface<T>[src]

type SendFuture = impl Future<Output = ()>

type ReceiveFuture = impl Future<Output = [u8; 8]>

Loading content...