Struct trinamic::modules::tmcm_1276::TMCM_1276[][src]

pub struct TMCM_1276<T: TMCLConnnection> { /* fields omitted */ }

Implementations

impl<T: TMCLConnnection> TMCM_1276<T>[src]

pub fn new(connection: TMCLInterface<T>) -> Self[src]

pub async fn get_axis_parameter(&mut self, ap_type: _AP) -> i32[src]

pub async fn set_axis_parameter(
    &mut self,
    ap_type: _AP,
    value: i32
) -> TMCLReply
[src]

pub async fn get_global_parameter(&mut self, gp_type: u8, bank: u8) -> i32[src]

pub async fn set_global_parameter(&mut self, gp_type: u8, bank: u8, value: i32)[src]

pub async fn rotate(&mut self, velocity: i32) -> TMCLReply[src]

pub async fn stop(&mut self) -> TMCLReply[src]

pub async fn move_to(&mut self, position: i32, velocity: Option<i32>)[src]

pub async fn move_by(&mut self, difference: i32, velocity: Option<i32>) -> u32[src]

pub async fn set_motor_run_current(&mut self, current: i32) -> TMCLReply[src]

pub async fn set_motor_standby_current(&mut self, current: i32) -> TMCLReply[src]

pub async fn get_max_current(&mut self) -> i32[src]

pub async fn set_max_current(&mut self, current: i32) -> TMCLReply[src]

pub async fn get_target_position(&mut self) -> i32[src]

pub async fn set_target_position(&mut self, position: i32) -> TMCLReply[src]

pub async fn get_actual_position(&mut self) -> i32[src]

pub async fn set_actual_position(&mut self, position: i32) -> TMCLReply[src]

pub async fn get_target_velocity(&mut self) -> i32[src]

pub async fn set_target_velocity(&mut self, velocity: i32) -> TMCLReply[src]

pub async fn get_actual_velocity(&mut self) -> i32[src]

pub async fn get_max_velocity(&mut self) -> i32[src]

pub async fn set_max_velocity(&mut self, velocity: i32) -> TMCLReply[src]

pub async fn get_max_acceleration(&mut self) -> i32[src]

pub async fn set_max_acceleration(&mut self, acceleration: i32) -> TMCLReply[src]

Auto Trait Implementations

impl<T> Send for TMCM_1276<T> where
    T: Send

impl<T> Sync for TMCM_1276<T> where
    T: Sync

impl<T> Unpin for TMCM_1276<T> where
    T: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.