equal
deleted
inserted
replaced
49 #define EC_IO_TIMEOUT 500 |
49 #define EC_IO_TIMEOUT 500 |
50 |
50 |
51 /** SDO injection timeout in microseconds. */ |
51 /** SDO injection timeout in microseconds. */ |
52 #define EC_SDO_INJECTION_TIMEOUT 10000 |
52 #define EC_SDO_INJECTION_TIMEOUT 10000 |
53 |
53 |
54 /** time to send a byte in nanoseconds. */ |
54 /** Time to send a byte in nanoseconds. |
55 #define EC_BYTE_TRANSMITION_TIME 80 |
55 * |
|
56 * t_ns = 1 / (100 MBit/s / 8 bit/byte) = 80 ns/byte |
|
57 */ |
|
58 #define EC_BYTE_TRANSMISSION_TIME_NS 80 |
56 |
59 |
57 /** Number of state machine retries on datagram timeout. */ |
60 /** Number of state machine retries on datagram timeout. */ |
58 #define EC_FSM_RETRIES 3 |
61 #define EC_FSM_RETRIES 3 |
59 |
62 |
60 /** Seconds to wait before fetching SDO dictionary |
63 /** Seconds to wait before fetching SDO dictionary |