pub struct EthercatConfig {
pub master_id: u32,
pub cycle_time_us: u32,
pub command_drop_time_us: u32,
pub watchdog_timeout_ms: u32,
pub mailbox_wait_time_ms: u32,
}
Expand description
Configuration for the Ethercat master
The master id is the id of the master in the Ethercat network The cycle time is the time in microseconds between each cycle The command drop time is the time in microseconds to wait for the command to be dropped The watchdog timeout is the time in milliseconds to wait for the watchdog to be updated The mailbox wait time is the time in milliseconds to wait for the mailbox to be updated
Fields§
§master_id: u32
§cycle_time_us: u32
§command_drop_time_us: u32
§watchdog_timeout_ms: u32
§mailbox_wait_time_ms: u32
Trait Implementations§
Source§impl Debug for EthercatConfig
impl Debug for EthercatConfig
Source§impl Default for EthercatConfig
impl Default for EthercatConfig
Source§fn default() -> EthercatConfig
fn default() -> EthercatConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EthercatConfig
impl<'de> Deserialize<'de> for EthercatConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EthercatConfig
impl RefUnwindSafe for EthercatConfig
impl Send for EthercatConfig
impl Sync for EthercatConfig
impl Unpin for EthercatConfig
impl UnwindSafe for EthercatConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more