MX Foundation 4
|
An application can register condition(s) to be monitored by the firmware.
When a callback handler is defined, the condition(s) is(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 transmit data as usual and/or received asynchronous events through the callback handler.
The transmit aperiodic buffer is normally updated from the callback handler.
The event conditions that can be monitored are as follows:
Condition | Description |
---|---|
MXF_ASYNCEVENT_COND_TXAPERIODIC_BUFFER_THRESHOLD | TX Aperiodic buffer almost empty threshold reached. Add enough records to the buffer to go over the almost full threshold to clear the event. |
MXF_ASYNCEVENT_COND_TX_ERROR | Transmission error detected. Only late transmit is supported, check the records time tag. |