Skip to main content

PM54

Struct PM54 

Source
pub struct PM54;
Expand description

The Control Table for the PM54 models.

Implementations§

Source§

impl PM54

Source

pub const MODEL_NUMBER: RegisterData = { BASE_MODEL_NUMBER }

Source

pub const MODEL_INFORMATION: RegisterData = { BASE_MODEL_INFORMATION }

Source

pub const FIRMWARE_VERSION: RegisterData = { BASE_FIRMWARE_VERSION }

Source

pub const ID: RegisterData = { BASE_ID }

Source

pub const BAUD_RATE: RegisterData = { BASE_BAUD_RATE }

Source

pub const DRIVE_MODE: RegisterData = { BASE_DRIVE_MODE }

Source

pub const OPERATING_MODE: RegisterData = { BASE_OPERATING_MODE }

Source

pub const HOMING_OFFSET: RegisterData = { BASE_HOMING_OFFSET }

Source

pub const MOVING_THRESHOLD: RegisterData = { BASE_MOVING_THRESHOLD }

Source

pub const TEMPERATURE_LIMIT: RegisterData = { BASE_TEMPERATURE_LIMIT }

Source

pub const MAX_VOLTAGE_LIMIT: RegisterData = { BASE_MAX_VOLTAGE_LIMIT }

Source

pub const MIN_VOLTAGE_LIMIT: RegisterData = { BASE_MIN_VOLTAGE_LIMIT }

Source

pub const PWM_LIMIT: RegisterData = { BASE_PWM_LIMIT }

Source

pub const CURRENT_LIMIT: RegisterData = { BASE_CURRENT_LIMIT }

Source

pub const ACCELERATION_LIMIT: RegisterData = { BASE_ACCELERATION_LIMIT }

Source

pub const VELOCITY_LIMIT: RegisterData = { BASE_VELOCITY_LIMIT }

Source

pub const MAX_POSITION_LIMIT: RegisterData = { BASE_MAX_POSITION_LIMIT }

Source

pub const MIN_POSITION_LIMIT: RegisterData = { BASE_MIN_POSITION_LIMIT }

Source

pub const STARTUP_CONFIGURATION: RegisterData = { BASE_STARTUP_CONFIGURATION }

Source

pub const SHUTDOWN: RegisterData = { BASE_SHUTDOWN }

Source

pub const TORQUE_ENABLE: RegisterData = { BASE_TORQUE_ENABLE }

Source

pub const HARDWARE_ERROR_STATUS: RegisterData = { BASE_HARDWARE_ERROR_STATUS }

Source

pub const VELOCITY_I_GAIN: RegisterData = { BASE_VELOCITY_I_GAIN }

Source

pub const VELOCITY_P_GAIN: RegisterData = { BASE_VELOCITY_P_GAIN }

Source

pub const POSITION_P_GAIN: RegisterData = { BASE_POSITION_P_GAIN }

Source

pub const BUS_WATCHDOG: RegisterData = { BASE_BUS_WATCHDOG }

Source

pub const GOAL_PWM: RegisterData = { BASE_GOAL_PWM }

Source

pub const GOAL_CURRENT: RegisterData = { BASE_GOAL_CURRENT }

Source

pub const GOAL_VELOCITY: RegisterData = { BASE_GOAL_VELOCITY }

Source

pub const PROFILE_ACCELERATION: RegisterData = { BASE_PROFILE_ACCELERATION }

Source

pub const PROFILE_VELOCITY: RegisterData = { BASE_PROFILE_VELOCITY }

Source

pub const GOAL_POSITION: RegisterData = { BASE_GOAL_POSITION }

Source

pub const MOVING: RegisterData = { BASE_MOVING }

Source

pub const MOVING_STATUS: RegisterData = { BASE_MOVING_STATUS }

Source

pub const PRESENT_PWM: RegisterData = { BASE_PRESENT_PWM }

Source

pub const PRESENT_CURRENT: RegisterData = { BASE_PRESENT_CURRENT }

Source

pub const PRESENT_VELOCITY: RegisterData = { BASE_PRESENT_VELOCITY }

Source

pub const PRESENT_POSITION: RegisterData = { BASE_PRESENT_POSITION }

Source

pub const VELOCITY_TRAJECTORY: RegisterData = { BASE_VELOCITY_TRAJECTORY }

Source

pub const POSITION_TRAJECTORY: RegisterData = { BASE_POSITION_TRAJECTORY }

Source

pub const PRESENT_INPUT_VOLTAGE: RegisterData = { BASE_PRESENT_INPUT_VOLTAGE }

Source

pub const PRESENT_TEMPERATURE: RegisterData = { BASE_PRESENT_TEMPERATURE }

Source

pub const POSITION_D_GAIN: RegisterData = { BASE_POSITION_D_GAIN }

Source

pub const POSITION_I_GAIN: RegisterData = { BASE_POSITION_I_GAIN }

Source

pub const PROTOCOL_TYPE: RegisterData = { BASE_PROTOCOL_TYPE }

Source

pub const EXTERNAL_PORT_MODE1: RegisterData = { BASE_EXTERNAL_PORT_MODE1 }

Source

pub const EXTERNAL_PORT_MODE2: RegisterData = { BASE_EXTERNAL_PORT_MODE2 }

Source

pub const EXTERNAL_PORT_MODE3: RegisterData = { BASE_EXTERNAL_PORT_MODE3 }

Source

pub const EXTERNAL_PORT_MODE4: RegisterData = { BASE_EXTERNAL_PORT_MODE4 }

Source

pub const LED_RED: RegisterData = { BASE_LED_RED }

Source

pub const LED_GREEN: RegisterData = { BASE_LED_GREEN }

Source

pub const LED_BLUE: RegisterData = { BASE_LED_BLUE }

Source

pub const FEEDFORWARD2_ND_GAIN: RegisterData = { BASE_FEEDFORWARD2_ND_GAIN }

Source

pub const FEEDFORWARD1_ST_GAIN: RegisterData = { BASE_FEEDFORWARD1_ST_GAIN }

Source

pub const REALTIME_TICK: RegisterData = { BASE_REALTIME_TICK }

Source

pub const EXTERNAL_PORT_DATA1: RegisterData = { BASE_EXTERNAL_PORT_DATA1 }

Source

pub const EXTERNAL_PORT_DATA2: RegisterData = { BASE_EXTERNAL_PORT_DATA2 }

Source

pub const EXTERNAL_PORT_DATA3: RegisterData = { BASE_EXTERNAL_PORT_DATA3 }

Source

pub const EXTERNAL_PORT_DATA4: RegisterData = { BASE_EXTERNAL_PORT_DATA4 }

Source

pub const fn get(register: Register) -> Option<RegisterData>

return the RegisterData for this register. Returns an Option as the register may not present for this model

Auto Trait Implementations§

§

impl Freeze for PM54

§

impl RefUnwindSafe for PM54

§

impl Send for PM54

§

impl Sync for PM54

§

impl Unpin for PM54

§

impl UnsafeUnpin for PM54

§

impl UnwindSafe for PM54

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.