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

◆ nrf_profiler_log_encode_int16()

void nrf_profiler_log_encode_int16 ( struct log_event_buf * buf,
int16_t data )

#include <include/nrf_profiler.h>

Encode and add int16_t data type to a buffer.

Note
The buffer must be initialized with nrf_profiler_log_start before calling this function.
Parameters
bufPointer to the data buffer.
dataData to add to the buffer.