Struct SOEM_sys::ec_group

source ·
#[repr(C)]
pub struct ec_group {
Show 16 fields 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],
}
Expand description

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 segegments 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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.