This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2650 TI-RTOS UART driver callbacks: no user arg?

Other Parts Discussed in Thread: CC2650

Many of the TI-RTOS APIs on CC2650 have some way to pass "user data" to their callback functions.

For example, the PIN driver offers PIN_setUserArg/PIN_getUserArg, which can be used to attach context information to a PIN_Handle for retrieval in the callback.

The I2C and SPI drivers have a "UArg arg" field in their transaction structures. The transaction structures are passed to the completion/error callback.

Clock functions have a similar "arg" in their Clock_Params, and that field is passed on to the clock function.

Unfortunately the UART module doesn't seem to have anything similar. Is there any convenient way to pass an arbitrary pointer to "user data" (ie not just the character buffer) through to the UART callback?