[][src]Crate ethercat_soem_sys

Structs

__BindgenBitfieldUnit
ec_ODlistt
ec_OElistt
ec_adapter
ec_eepromPDO

record to store rxPDO and txPDO table from eeprom

ec_errort

Struct to retrieve errors.

ec_errort__bindgen_ty_1__bindgen_ty_1

Specific error for Emergency mailbox

ec_fmmu

record for FMMU

ec_group

for list of ethercat slave groups

ec_slave

for list of ethercat slaves detected

ec_sm

record for sync manager

ec_timet
ecx_context

Context structure , referenced by all ecx functions

ecx_portt

pointer structure to buffers, vars and mutexes for port instantiation

ecx_redportt

pointer structure to buffers for redundant port

eoe_ethaddr

EOE ethernet address

eoe_ip4_addr

EOE ip4 address in network order

eoe_param

EoE IP request structure, storage only, no need to pack

Constants

ec_err_type_EC_ERR_TYPE_EMERGENCY
ec_err_type_EC_ERR_TYPE_EOE_INVALID_RX_DATA
ec_err_type_EC_ERR_TYPE_FOE_BUF2SMALL
ec_err_type_EC_ERR_TYPE_FOE_ERROR
ec_err_type_EC_ERR_TYPE_FOE_FILE_NOTFOUND
ec_err_type_EC_ERR_TYPE_FOE_PACKETNUMBER
ec_err_type_EC_ERR_TYPE_MBX_ERROR
ec_err_type_EC_ERR_TYPE_PACKET_ERROR
ec_err_type_EC_ERR_TYPE_SDOINFO_ERROR
ec_err_type_EC_ERR_TYPE_SDO_ERROR
ec_err_type_EC_ERR_TYPE_SOE_ERROR
ec_state_EC_STATE_ACK

Error or ACK error

ec_state_EC_STATE_BOOT

Boot state

ec_state_EC_STATE_ERROR

Error or ACK error

ec_state_EC_STATE_INIT

Init state

ec_state_EC_STATE_NONE

No valid state.

ec_state_EC_STATE_OPERATIONAL

Operational

ec_state_EC_STATE_PRE_OP

Pre-operational.

ec_state_EC_STATE_SAFE_OP

Safe-operational.

Functions

ec_ALstatuscode2string
ec_APRD
ec_APRDw
ec_APWR
ec_APWRw
ec_ARMW
ec_BRD
ec_BWR
ec_FOEdefinehook
ec_FOEread
ec_FOEwrite
ec_FPRD
ec_FPRDw
ec_FPWR
ec_FPWRw
ec_FRMW
ec_LRD
ec_LRW
ec_LRWDC
ec_LWR
ec_RxPDO
ec_SDOerror
ec_SDOread
ec_SDOwrite
ec_SoEread
ec_SoEwrite
ec_TxPDO
ec_adddatagram
ec_clearmbx
ec_close
ec_closenic
ec_config
ec_config_init
ec_config_map
ec_config_map_group
ec_config_overlap
ec_config_overlap_map
ec_config_overlap_map_group
ec_configdc
ec_dcsync0
ec_dcsync01
ec_eeprom2master
ec_eeprom2pdi
ec_elist2string
ec_esidump
ec_find_adapters
ec_free_adapters
ec_getindex
ec_init
ec_init_redundant
ec_iserror
ec_mbxempty
ec_mbxerror2string
ec_mbxreceive
ec_mbxsend
ec_nextmbxcnt
ec_outframe
ec_outframe_red
ec_packeterror
ec_poperror
ec_pusherror
ec_readIDNmap
ec_readODdescription
ec_readODlist
ec_readOE
ec_readOEsingle
ec_readPDOmap
ec_readPDOmapCA
ec_readeeprom
ec_readeeprom1
ec_readeeprom2
ec_readeepromAP
ec_readeepromFP
ec_readstate
ec_receive_processdata
ec_receive_processdata_group
ec_reconfig_slave
ec_recover_slave
ec_sdoerror2string
ec_send_overlap_processdata
ec_send_overlap_processdata_group
ec_send_processdata
ec_send_processdata_group
ec_setbufstat
ec_setupdatagram
ec_setupheader
ec_setupnic
ec_siiFMMU
ec_siiPDO
ec_siiSM
ec_siiSMnext
ec_siifind
ec_siigetbyte
ec_siistring
ec_soeerror2string
ec_srconfirm
ec_statecheck
ec_waitinframe
ec_writeeeprom
ec_writeeepromAP
ec_writeeepromFP
ec_writestate
ecx_APRD
ecx_APRDw
ecx_APWR
ecx_APWRw
ecx_ARMW
ecx_BRD
ecx_BWR
ecx_EOEdefinehook
ecx_EOEgetIp
ecx_EOEreadfragment
ecx_EOErecv
ecx_EOEsend
ecx_EOEsetIp
ecx_FOEdefinehook
ecx_FOEread
ecx_FOEwrite
ecx_FPRD
ecx_FPRDw
ecx_FPWR
ecx_FPWRw
ecx_FRMW
ecx_LRD
ecx_LRW
ecx_LRWDC
ecx_LWR
ecx_RxPDO
ecx_SDOerror
ecx_SDOread
ecx_SDOwrite
ecx_SoEread
ecx_SoEwrite
ecx_TxPDO
ecx_adddatagram
ecx_close
ecx_closenic
ecx_config_init
ecx_config_map_group
ecx_config_overlap_map_group
ecx_configdc
ecx_dcsync0
ecx_dcsync01
ecx_eeprom2master
ecx_eeprom2pdi
ecx_elist2string
ecx_err2string
ecx_esidump
ecx_getindex
ecx_init
ecx_init_redundant
ecx_iserror
ecx_mbxempty
ecx_mbxreceive
ecx_mbxsend
ecx_outframe
ecx_outframe_red
ecx_packeterror
ecx_poperror
ecx_pusherror
ecx_readIDNmap
ecx_readODdescription
ecx_readODlist
ecx_readOE
ecx_readOEsingle
ecx_readPDOmap
ecx_readPDOmapCA
ecx_readeeprom
ecx_readeeprom1
ecx_readeeprom2
ecx_readeepromAP
ecx_readeepromFP
ecx_readstate
ecx_receive_processdata
ecx_receive_processdata_group
ecx_reconfig_slave
ecx_recover_slave
ecx_send_overlap_processdata
ecx_send_overlap_processdata_group
ecx_send_processdata
ecx_send_processdata_group
ecx_setbufstat
ecx_setupdatagram
ecx_setupnic
ecx_siiFMMU
ecx_siiPDO
ecx_siiSM
ecx_siiSMnext
ecx_siifind
ecx_siigetbyte
ecx_siistring
ecx_srconfirm
ecx_statecheck
ecx_waitinframe
ecx_writeeeprom
ecx_writeeepromAP
ecx_writeeepromFP
ecx_writestate

Type Definitions

__int16_t
__int32_t
__int64_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
boolean
ec_PDOassignt

SDO assign structure for CA

ec_PDOdesct

SDO description structure for CA

ec_SMcommtypet

SyncManager Communication Type structure for CA

ec_adaptert
ec_eepromFMMUt

SII FMMU structure

ec_eepromPDOt

record to store rxPDO and txPDO table from eeprom

ec_eepromSMt

SII SM structure

ec_eringt

ringbuf for error storage

ec_err_type

Error types

ec_fmmut

record for FMMU

ec_groupt

for list of ethercat slave groups

ec_idxstackT

stack structure to store segmented LRD/LWR/LRW constructs

ec_mbxbuft

mailbox buffer array

ec_slavet

for list of ethercat slaves detected

ec_smt

record for sync manager

ec_state

Possible EtherCAT slave states

ecx_contextt
eoe_ethaddr_t

EOE ethernet address

eoe_ip4_addr_t

EOE ip4 address in network order

eoe_param_t

EoE IP request structure, storage only, no need to pack

int16
int32
int64
uint8
uint16
uint32
uint64

Unions

ec_errort__bindgen_ty_1