MX Foundation 4
|
An application can register condition(s) to be monitored by the receive firmware.
When a callback handler is defined, the condition(s) are reported to the application asynchronously from the firmware to the handler.
The way to define an handler is as follows:
After this registration, the application can read acquisition data as usual and/or received asynchronous events through the callback handler.
The receive queue can also be read from the callback handler if necessary.
The event conditions that can be monitored are as follows:
Condition | Description |
---|---|
MXF_ASYNCEVENT_COND_RXACQ_THRESHOLD | Acquisition buffer threshold exceeded. |
The example below shows how an acquisition threshold condition is defined.
The main function used to define the handler is shown below.
–>