[−][src]Struct ethercat::SlaveConfig
Implementations
impl<'m> SlaveConfig<'m>
[src]
pub const fn index(&self) -> SlaveConfigIdx
[src]
pub fn state(&self) -> Result<SlaveConfigState>
[src]
pub fn config_sm_pdos(
&mut self,
sm_cfg: SmCfg,
pdo_cfgs: &[PdoCfg]
) -> Result<()>
[src]
&mut self,
sm_cfg: SmCfg,
pdo_cfgs: &[PdoCfg]
) -> Result<()>
Configure PDOs of a specifc Sync Manager
pub fn config_watchdog(&mut self, divider: u16, intervals: u16) -> Result<()>
[src]
pub fn config_sync_manager(&mut self, cfg: &SmCfg) -> Result<()>
[src]
pub fn clear_pdo_assignments(&mut self, sync_idx: SmIdx) -> Result<()>
[src]
pub fn add_pdo_assignment(
&mut self,
sync_idx: SmIdx,
pdo_idx: PdoIdx
) -> Result<()>
[src]
&mut self,
sync_idx: SmIdx,
pdo_idx: PdoIdx
) -> Result<()>
pub fn clear_pdo_mapping(&mut self, pdo_idx: PdoIdx) -> Result<()>
[src]
pub fn add_pdo_mapping(
&mut self,
pdo_index: PdoIdx,
entry: &PdoEntryInfo
) -> Result<()>
[src]
&mut self,
pdo_index: PdoIdx,
entry: &PdoEntryInfo
) -> Result<()>
pub fn register_pdo_entry(
&mut self,
index: PdoEntryIdx,
domain: DomainIdx
) -> Result<Offset>
[src]
&mut self,
index: PdoEntryIdx,
domain: DomainIdx
) -> Result<Offset>
pub fn register_pdo_entry_by_position(
&mut self,
sync_index: SmIdx,
pdo_pos: u32,
entry_pos: u32,
domain: DomainIdx
) -> Result<Offset>
[src]
&mut self,
sync_index: SmIdx,
pdo_pos: u32,
entry_pos: u32,
domain: DomainIdx
) -> Result<Offset>
pub fn config_dc(
&mut self,
assign_activate: u16,
sync0_cycle_time: u32,
sync0_shift_time: i32,
sync1_cycle_time: u32,
sync1_shift_time: i32
) -> Result<()>
[src]
&mut self,
assign_activate: u16,
sync0_cycle_time: u32,
sync0_shift_time: i32,
sync1_cycle_time: u32,
sync1_shift_time: i32
) -> Result<()>
pub fn add_sdo<T: ?Sized>(&mut self, index: SdoIdx, data: &T) -> Result<()> where
T: SdoData,
[src]
T: SdoData,
pub fn add_complete_sdo(&mut self, index: SdoIdx, data: &[u8]) -> Result<()>
[src]
pub fn config_idn(
&mut self,
drive_no: u8,
idn: u16,
al_state: AlState,
data: &[u8]
) -> Result<()>
[src]
&mut self,
drive_no: u8,
idn: u16,
al_state: AlState,
data: &[u8]
) -> Result<()>
pub fn set_emerg_size(&mut self, elements: u64) -> Result<()>
[src]
pub fn pop_emerg(&mut self, target: &mut [u8]) -> Result<()>
[src]
pub fn clear_emerg(&mut self) -> Result<()>
[src]
pub fn emerg_overruns(&mut self) -> Result<i32>
[src]
Auto Trait Implementations
impl<'m> RefUnwindSafe for SlaveConfig<'m>
impl<'m> Send for SlaveConfig<'m>
impl<'m> Sync for SlaveConfig<'m>
impl<'m> Unpin for SlaveConfig<'m>
impl<'m> UnwindSafe for SlaveConfig<'m>
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>,