Struct trinamic::modules::tmcm_1276::TMCM_1276 [−][src]
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]
&mut self,
ap_type: _AP,
value: i32
) -> TMCLReply
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,
T: Send,
impl<T> Sync for TMCM_1276<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TMCM_1276<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,