Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Why no context in SAADC-handler

What was the reason for not making the context available for saadc-handlers?

Most handlers I stumbled on (twi and timer)  either had a void* p_context or void* p_user_data argument. This permits passing a structure to the handler function (e.g. the ble_bas structure) instead of declaring a variable static.

Was there a specific reason not making this available in saadc?

Parents Reply Children
No Data
Related