Struct tmcl::modules::tmcm::instructions::GAP
[−]
[src]
pub struct GAP<T: ReadableAxisParameter> { /* fields omitted */ }
GAP - Get Axis Parameter
Most parameters of a TMCM module can be adjusted individually for each axis. Although these parameters vary widely in their formats (1 to 24 bits, signed or unsigned) and physical locations (TMC428, TMC453, controller RAM, controller EEPROM), they all can be read by this function.
Methods
impl<T: ReadableAxisParameter> GAP<T>
[src]
Trait Implementations
impl<T: Debug + ReadableAxisParameter> Debug for GAP<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: PartialEq + ReadableAxisParameter> PartialEq for GAP<T>
[src]
fn eq(&self, __arg_0: &GAP<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GAP<T>) -> bool
[src]
This method tests for !=
.
impl<T: ReadableAxisParameter> Instruction for GAP<T>
[src]
const INSTRUCTION_NUMBER: u8
INSTRUCTION_NUMBER: u8 = 6
The command number (sometimes referred to as the instruction number).
fn operand(&self) -> [u8; 4]
[src]
Return the operand serialized. Read more
fn type_number(&self) -> u8
[src]
fn motor_bank_number(&self) -> u8
[src]
The motor/bank number