IgH EtherCAT Master  1.6.2
ec_fsm_coe Struct Reference

Finite state machines for the CANopen over EtherCAT protocol. More...

Data Fields

ec_slave_tslave
 slave the FSM runs on
 
unsigned int retries
 retries upon datagram timeout
 
void(* state )(ec_fsm_coe_t *, ec_datagram_t *)
 CoE state function.
 
ec_datagram_tdatagram
 Datagram used in last step. More...
 
unsigned long jiffies_start
 CoE timestamp. More...
 
ec_sdo_tsdo
 current SDO
 
uint8_t subindex
 current subindex
 
ec_sdo_request_trequest
 SDO request.
 
uint32_t complete_size
 Used when segmenting. More...
 
uint8_t toggle
 toggle bit for segment commands
 
uint32_t offset
 Data offset during segmented download. More...
 
uint32_t remaining
 Remaining bytes during segmented download. More...
 
size_t segment_size
 Current segment size. More...
 

Detailed Description

Finite state machines for the CANopen over EtherCAT protocol.

Definition at line 44 of file fsm_coe.h.

Field Documentation

◆ datagram

ec_datagram_t* ec_fsm_coe::datagram

Datagram used in last step.

Definition at line 49 of file fsm_coe.h.

◆ jiffies_start

unsigned long ec_fsm_coe::jiffies_start

CoE timestamp.

Definition at line 50 of file fsm_coe.h.

◆ complete_size

uint32_t ec_fsm_coe::complete_size

Used when segmenting.

Definition at line 54 of file fsm_coe.h.

◆ offset

uint32_t ec_fsm_coe::offset

Data offset during segmented download.

Definition at line 56 of file fsm_coe.h.

◆ remaining

uint32_t ec_fsm_coe::remaining

Remaining bytes during segmented download.

Definition at line 57 of file fsm_coe.h.

◆ segment_size

size_t ec_fsm_coe::segment_size

Current segment size.

Definition at line 58 of file fsm_coe.h.