ec_fsm_foe 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_foe_t *, ec_datagram_t *)
 FoE state function.
ec_datagram_tdatagram
 Datagram used in previous step.
unsigned long jiffies_start
 FoE timestamp.
uint8_t subindex
 Current subindex.
ec_foe_request_trequest
 FoE request.
uint8_t toggle
 Toggle bit for segment commands.
uint8_t * tx_buffer
 Buffer with data to transmit.
uint32_t tx_buffer_size
 Size of data to transmit.
uint32_t tx_buffer_offset
 Offset of data to tranmit next.
uint32_t tx_last_packet
 Current packet is last one to send.
uint32_t tx_packet_no
 FoE packet number.
uint32_t tx_current_size
 Size of current packet to send.
uint8_t * tx_filename
 Name of file to transmit.
uint32_t tx_filename_len
 Lenth of transmit file name.
uint8_t * rx_buffer
 Buffer for received data.
uint32_t rx_buffer_size
 Size of receive buffer.
uint32_t rx_buffer_offset
 Offset in receive buffer.
uint32_t rx_expected_packet_no
 Expected receive packet number.
uint32_t rx_last_packet
 Current packet is the last to receive.
uint8_t * rx_filename
 Name of the file to receive.
uint32_t rx_filename_len
 Length of the receive file name.


Detailed Description

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

Definition at line 53 of file fsm_foe.h.


Field Documentation

Slave the FSM runs on.

Definition at line 54 of file fsm_foe.h.

FoE state function.

Datagram used in previous step.

Definition at line 58 of file fsm_foe.h.

FoE timestamp.

Definition at line 59 of file fsm_foe.h.

Current subindex.

Definition at line 60 of file fsm_foe.h.

FoE request.

Definition at line 61 of file fsm_foe.h.

Toggle bit for segment commands.

Definition at line 62 of file fsm_foe.h.

Buffer with data to transmit.

Definition at line 64 of file fsm_foe.h.

Size of data to transmit.

Definition at line 65 of file fsm_foe.h.

Offset of data to tranmit next.

Definition at line 66 of file fsm_foe.h.

Current packet is last one to send.

Definition at line 67 of file fsm_foe.h.

FoE packet number.

Definition at line 68 of file fsm_foe.h.

Size of current packet to send.

Definition at line 69 of file fsm_foe.h.

Name of file to transmit.

Definition at line 70 of file fsm_foe.h.

Lenth of transmit file name.

Definition at line 71 of file fsm_foe.h.

Buffer for received data.

Definition at line 73 of file fsm_foe.h.

Size of receive buffer.

Definition at line 74 of file fsm_foe.h.

Offset in receive buffer.

Definition at line 75 of file fsm_foe.h.

Expected receive packet number.

Definition at line 76 of file fsm_foe.h.

Current packet is the last to receive.

Definition at line 77 of file fsm_foe.h.

Name of the file to receive.

Definition at line 78 of file fsm_foe.h.

Length of the receive file name.

Definition at line 79 of file fsm_foe.h.


Generated on Mon Jun 20 09:31:31 2016 for IgH EtherCAT Master by  doxygen 1.5.6