| uint32_t EC_API_SLV_getState | ( | EC_API_SLV_SHandle_t * | pHandle, |
| EC_API_SLV_EEsmState_t * | pState, | ||
| uint16_t * | pAlErrorCode | ||
| ) |
This is the function to read the EtherCAT Slave state machine.
Reads the EtherCAT Slave state machine
| [in] | pHandle | The pointer to the EtherCAT API instance. |
| [out] | pState | EtherCAT ESM state. |
| [out] | pAlErrorCode | Application Layer error code. |