[][src]Struct ethercat_soem_sys::ec_group

#[repr(C)]pub struct ec_group {
    pub logstartaddr: uint32,
    pub Obytes: uint32,
    pub outputs: *mut uint8,
    pub Ibytes: uint32,
    pub inputs: *mut uint8,
    pub hasdc: boolean,
    pub DCnext: uint16,
    pub Ebuscurrent: int16,
    pub blockLRW: uint8,
    pub nsegments: uint16,
    pub Isegment: uint16,
    pub Ioffset: uint16,
    pub outputsWKC: uint16,
    pub inputsWKC: uint16,
    pub docheckstate: boolean,
    pub IOsegment: [uint32; 64],
}

for list of ethercat slave groups

Fields

logstartaddr: uint32

logical start address for this group

Obytes: uint32

output bytes, if Obits < 8 then Obytes = 0

outputs: *mut uint8

output pointer in IOmap buffer

Ibytes: uint32

input bytes, if Ibits < 8 then Ibytes = 0

inputs: *mut uint8

input pointer in IOmap buffer

hasdc: boolean

has DC capabillity

DCnext: uint16

next DC slave

Ebuscurrent: int16

E-bus current

blockLRW: uint8

if >0 block use of LRW in processdata

nsegments: uint16

IO segments used

Isegment: uint16

1st input segment

Ioffset: uint16

Offset in input segment

outputsWKC: uint16

Expected workcounter outputs

inputsWKC: uint16

Expected workcounter inputs

docheckstate: boolean

check slave states

IOsegment: [uint32; 64]

IO segmentation list. Datagrams must not break SM in two.

Trait Implementations

impl Clone for ec_group[src]

impl Copy for ec_group[src]

Auto Trait Implementations

impl RefUnwindSafe for ec_group

impl !Send for ec_group

impl !Sync for ec_group

impl Unpin for ec_group

impl UnwindSafe for ec_group

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.