EtherCAT-IOLink Gateway

◆ GW_API_setGWHighestPriority()

GW_API_EErrorcode_t GW_API_setGWHighestPriority ( const uint8_t  priority_p)

highest priority of gateway threads

lowest gatewaytask (HighestPriority-4) is a polling task

Parameters
[in]priority_phighest gateway priority
Returns
GW_API_EErrorcode_t errorcode
Example
#include <gw_api_interface.h>
GW_API_EErrorcode_t retVal = GW_API_eSUCCESS;
uint16_t priority= 16;
retVal = GW_API_setGWHighestPriority(priority);
GW_API_EErrorcode_t GW_API_setGWHighestPriority(const uint8_t priority_p)
highest priority of gateway threads
Definition: gw_api_interface.c:793