PhEventArm()
Arm the currently attached Photon channel
Synopsis:
int PhEventArm( void );
Description:
This function arms the current Photon channel so that the channel will trigger the application's event proxy when an event becomes available. If an event is already available, the proxy is triggered immediately.
Returns:
- 0
- Successful completion.
- -1
- An error occurred.
Examples:
See PhEventRead().
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PhAttach(), PhEventNext(), PhEventPeek(), PhEventRead()
