Struct tmcl::modules::tmcm::instructions::SAP
[−]
[src]
pub struct SAP<T: WriteableAxisParameter> { /* fields omitted */ }
SAP - Set 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 set by this function.
Methods
impl<T: WriteableAxisParameter> SAP<T>
[src]
Trait Implementations
impl<T: Debug + WriteableAxisParameter> Debug for SAP<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: PartialEq + WriteableAxisParameter> PartialEq for SAP<T>
[src]
fn eq(&self, __arg_0: &SAP<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: &SAP<T>) -> bool
[src]
This method tests for !=
.
impl<T: WriteableAxisParameter> Instruction for SAP<T>
[src]
const INSTRUCTION_NUMBER: u8
INSTRUCTION_NUMBER: u8 = 5
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