handle: |
This is the handle to the serial board; it is actually a pointer to the data
structure for the board.
|
events: |
This is an array of integers; each integer is an event id which we are waiting
for. If any of these events occurs, the function will return.
|
length: |
This specifies the number of elements in the events array. Setting this
parameter to 0 causes the function to return any event that occurs.
|
timeout: |
This is the time (in milliseconds) before the function will timeout and return
if none of the specified events has occurred. Pass a 0 to prevent the function
from timing out.
|
value: |
This is a pointer to the integer variable where you want to store
the value returned from the event. For example, a byte event would return
the value present on the port.
|