nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ rtfw_command_handler_t

typedef int(* rtfw_command_handler_t) (const struct rtfw_command *command, void *user_data)

#include <include/rtfw/rtfw.h>

Process a command in the zero-latency fast path.

The framework calls this required callback at most once per rtfw_fastpath_run invocation, before the source fast-path handler. Execution must be bounded and must not use kernel APIs, log, allocate, block, or perform cache maintenance. Return zero only after applying the command completely. On error, leave the previously applied state unchanged and return a negative errno value.