Definition in file fsm_coe.c.
Go to the source code of this file.
Functions | |
| void | ec_fsm_coe_dict_start (ec_fsm_coe_t *fsm) |
| CoE state: DICT START. | |
| void | ec_fsm_coe_dict_request (ec_fsm_coe_t *fsm) |
| CoE state: DICT REQUEST. | |
| void | ec_fsm_coe_dict_check (ec_fsm_coe_t *fsm) |
| CoE state: DICT CHECK. | |
| void | ec_fsm_coe_dict_response (ec_fsm_coe_t *fsm) |
| CoE state: DICT RESPONSE. | |
| void | ec_fsm_coe_dict_desc_request (ec_fsm_coe_t *fsm) |
| CoE state: DICT DESC REQUEST. | |
| void | ec_fsm_coe_dict_desc_check (ec_fsm_coe_t *fsm) |
| CoE state: DICT DESC CHECK. | |
| void | ec_fsm_coe_dict_desc_response (ec_fsm_coe_t *fsm) |
| CoE state: DICT DESC RESPONSE. | |
| void | ec_fsm_coe_dict_entry_request (ec_fsm_coe_t *fsm) |
| CoE state: DICT ENTRY REQUEST. | |
| void | ec_fsm_coe_dict_entry_check (ec_fsm_coe_t *fsm) |
| CoE state: DICT ENTRY CHECK. | |
| void | ec_fsm_coe_dict_entry_response (ec_fsm_coe_t *fsm) |
| CoE state: DICT ENTRY RESPONSE. | |
| void | ec_fsm_coe_down_start (ec_fsm_coe_t *fsm) |
| CoE state: DOWN START. | |
| void | ec_fsm_coe_down_request (ec_fsm_coe_t *fsm) |
| CoE state: DOWN REQUEST. | |
| void | ec_fsm_coe_down_check (ec_fsm_coe_t *fsm) |
| CoE state: DOWN CHECK. | |
| void | ec_fsm_coe_down_response (ec_fsm_coe_t *fsm) |
| CoE state: DOWN RESPONSE. | |
| void | ec_fsm_coe_up_start (ec_fsm_coe_t *fsm) |
| CoE state: UP START. | |
| void | ec_fsm_coe_up_request (ec_fsm_coe_t *fsm) |
| CoE state: UP REQUEST. | |
| void | ec_fsm_coe_up_check (ec_fsm_coe_t *fsm) |
| CoE state: UP CHECK. | |
| void | ec_fsm_coe_up_response (ec_fsm_coe_t *fsm) |
| CoE state: UP RESPONSE. | |
| void | ec_fsm_coe_up_seg_request (ec_fsm_coe_t *fsm) |
| CoE state: UP REQUEST. | |
| void | ec_fsm_coe_up_seg_check (ec_fsm_coe_t *fsm) |
| CoE state: UP CHECK. | |
| void | ec_fsm_coe_up_seg_response (ec_fsm_coe_t *fsm) |
| CoE state: UP RESPONSE. | |
| void | ec_fsm_coe_end (ec_fsm_coe_t *fsm) |
| State: END. | |
| void | ec_fsm_coe_error (ec_fsm_coe_t *fsm) |
| State: ERROR. | |
| void | ec_canopen_abort_msg (uint32_t abort_code) |
| Outputs an SDO abort message. | |
| void | ec_fsm_coe_init (ec_fsm_coe_t *fsm, ec_datagram_t *datagram) |
| Constructor. | |
| void | ec_fsm_coe_clear (ec_fsm_coe_t *fsm) |
| Destructor. | |
| void | ec_fsm_coe_dictionary (ec_fsm_coe_t *fsm, ec_slave_t *slave) |
| Starts reading a slaves' SDO dictionary. | |
| void | ec_fsm_coe_download (ec_fsm_coe_t *fsm, ec_slave_t *slave, ec_sdo_data_t *sdodata) |
| Starts to download an SDO to a slave. | |
| void | ec_fsm_coe_upload (ec_fsm_coe_t *fsm, ec_slave_t *slave, ec_sdo_request_t *request) |
| Starts to upload an SDO from a slave. | |
| int | ec_fsm_coe_exec (ec_fsm_coe_t *fsm) |
| Executes the current state of the state machine. | |
| int | ec_fsm_coe_success (ec_fsm_coe_t *fsm) |
| Returns, if the state machine terminated with success. | |
Variables | |
| const ec_code_msg_t | sdo_abort_messages [] |
| SDO abort messages. | |
|
|
CoE state: DICT START.
|
|
|
CoE state: DICT REQUEST.
|
|
|
CoE state: DICT CHECK.
|
|
|
CoE state: DICT RESPONSE.
|
|
|
CoE state: DICT DESC REQUEST.
|
|
|
CoE state: DICT DESC CHECK.
|
|
|
CoE state: DICT DESC RESPONSE.
|
|
|
CoE state: DICT ENTRY REQUEST.
|
|
|
CoE state: DICT ENTRY CHECK.
|
|
|
CoE state: DICT ENTRY RESPONSE.
|
|
|
CoE state: DOWN START.
|
|
|
CoE state: DOWN REQUEST.
|
|
|
CoE state: DOWN CHECK.
|
|
|
CoE state: DOWN RESPONSE.
|
|
|
CoE state: UP START.
|
|
|
CoE state: UP REQUEST.
|
|
|
CoE state: UP CHECK.
|
|
|
CoE state: UP RESPONSE.
|
|
|
CoE state: UP REQUEST.
|
|
|
CoE state: UP CHECK.
|
|
|
CoE state: UP RESPONSE.
|
|
|
State: END.
|
|
|
State: ERROR.
|
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Starts reading a slaves' SDO dictionary.
|
|
||||||||||||||||
|
Starts to download an SDO to a slave.
|
|
||||||||||||||||
|
Starts to upload an SDO from a slave.
|
|
|
Executes the current state of the state machine.
|
|
|
Returns, if the state machine terminated with success.
|
|
|
SDO abort messages. The "abort SDO transfer request" supplies an abort code, which can be translated to clear text. This table does the mapping of the codes and messages. |
1.4.4