EtherCAT Slave  1.06.01

◆ EC_API_SLV_readByteEscRegister()

uint8_t EC_API_SLV_readByteEscRegister ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
uint16_t  escAddress_p 
)

This is the function reads a byte from ESC Register.

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]escAddress_pThe ESC Address
Returns
uint8_t Returns the ESC value.
Example
#include <ecSlvApi.h>
// required variables
uint8_t alEscStatus = 0;
// the Call
alEscStatus = EC_API_SLV_readByteEscRegister(ecSlaveApi, 0x130);
See also
EC_API_SLV_readWordEscRegister, EC_API_SLV_readDoubleWordEscRegister
EC_API_SLV_readByteEscRegister
uint8_t EC_API_SLV_readByteEscRegister(EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint16_t escAddress_p)
This is the function reads a byte from ESC Register.
Definition: ecSlvApiStub.c:1100