MX Foundation 4
|
A MIL-1553 receive 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 a handler is as follows:
After this registration, the application can read acquisition data as usual and/or receive 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. |
MXF_ASYNCEVENT_COND_RX_MSG | Specific message available in the queue. |
MXF_ASYNCEVENT_COND_RX_ERROR | Receive errors on the RX port. |