xMBTCPPortMasterWaitEvent() function
Keeps FSM event handle and mask then wait for Master stack to start
Arguments
xEventHandle
Master event handle
xEvent
event mask to start Modbus stack FSM
usTimeout
- timeout in ticks to wait for stack to start
Return value
TRUE if stack started, else FALSE