[−][src]Struct SOEM_sys::ecx_context
Context structure , referenced by all ecx functions
Fields
port: *mut ecx_portt
port reference, may include red_port
slavelist: *mut ec_slavet
slavelist reference
slavecount: *mut c_int
number of slaves found in configuration
maxslave: c_int
maximum number of slaves allowed in slavelist
grouplist: *mut ec_groupt
grouplist reference
maxgroup: c_int
maximum number of groups allowed in grouplist
esibuf: *mut uint8
internal, reference to eeprom cache buffer
esimap: *mut uint32
internal, reference to eeprom cache map
esislave: uint16
internal, current slave for eeprom cache
elist: *mut ec_eringt
internal, reference to error list
idxstack: *mut ec_idxstackT
internal, reference to processdata stack buffer info
ecaterror: *mut boolean
reference to ecaterror state
DCtO: uint16
internal, position of DC datagram in process data packet
DCl: uint16
internal, length of DC datagram
DCtime: *mut int64
reference to last DC time from slaves
SMcommtype: *mut ec_SMcommtypet
internal, SM buffer
PDOassign: *mut ec_PDOassignt
internal, PDO assign list
PDOdesc: *mut ec_PDOdesct
internal, PDO description list
eepSM: *mut ec_eepromSMt
internal, SM list from eeprom
eepFMMU: *mut ec_eepromFMMUt
internal, FMMU list from eeprom
FOEhook: Option<unsafe extern "C" fn(slave: uint16, packetnumber: c_int, datasize: c_int) -> c_int>
registered FoE hook
EOEhook: Option<unsafe extern "C" fn(context: *mut ecx_contextt, slave: uint16, eoembx: *mut c_void) -> c_int>
registered EoE hook
manualstatechange: c_int
flag to control legacy automatic state change or manual state change
Trait Implementations
impl Clone for ecx_context
[src]
fn clone(&self) -> ecx_context
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ecx_context
[src]
impl Debug for ecx_context
[src]
Auto Trait Implementations
impl RefUnwindSafe for ecx_context
impl !Send for ecx_context
impl !Sync for ecx_context
impl Unpin for ecx_context
impl UnwindSafe for ecx_context
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,