![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| brp_errcode brp_DHWCtrl_PortWait | ( | brp_protocol | protocol, | 
| unsigned | Port, | ||
| bool | Level, | ||
| unsigned | Timeout, | ||
| unsigned * | ReactionTime | ||
| ) | 
Waits until a port has reached the specified level, or until timeout.
| [in] | protocol | used to execute the command | 
| [in] | Port | Port to monitor. | 
| [in] | Level | Level which must be reached by Port. | 
| [in] | Timeout | Timeout value in milliseconds. 0xFFFF means no timeout. | 
| [out] | ReactionTime | The time in milliseconds until Port reached desired Level value. 0xFFFF is returned when the timeout value is reached. 0xFFFE is otherwise the maximum value. |