mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-21 17:44:04 +08:00
Added missing doc.
This commit is contained in:
@@ -73,7 +73,6 @@ typedef struct {
|
||||
void ec_foe_request_init(ec_foe_request_t *, uint8_t* file_name);
|
||||
void ec_foe_request_clear(ec_foe_request_t *);
|
||||
|
||||
void ec_foe_request_address(ec_foe_request_t *, uint16_t, uint8_t);
|
||||
int ec_foe_request_alloc(ec_foe_request_t *, size_t);
|
||||
int ec_foe_request_copy_data(ec_foe_request_t *, const uint8_t *, size_t);
|
||||
int ec_foe_request_timed_out(const ec_foe_request_t *);
|
||||
|
||||
+8
-6
@@ -57,13 +57,15 @@
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/** FoE OpCodes.
|
||||
*/
|
||||
enum {
|
||||
EC_FOE_OPCODE_RRQ = 1,
|
||||
EC_FOE_OPCODE_WRQ = 2,
|
||||
EC_FOE_OPCODE_DATA = 3,
|
||||
EC_FOE_OPCODE_ACK = 4,
|
||||
EC_FOE_OPCODE_ERR = 5,
|
||||
EC_FOE_OPCODE_BUSY = 6
|
||||
EC_FOE_OPCODE_RRQ = 1, /**< Read request. */
|
||||
EC_FOE_OPCODE_WRQ = 2, /**< Write request. */
|
||||
EC_FOE_OPCODE_DATA = 3, /**< Data. */
|
||||
EC_FOE_OPCODE_ACK = 4, /**< Acknowledge. */
|
||||
EC_FOE_OPCODE_ERR = 5, /**< Error. */
|
||||
EC_FOE_OPCODE_BUSY = 6 /**< Busy. */
|
||||
} ec_foe_opcode_t;
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user