SEGGER_RTT_WriteWithOverwriteNoLock() function
SEGGER_RTT_WriteWithOverwriteNoLock Function description Stores a specified number of characters in SEGGER RTT control block. SEGGER_RTT_WriteWithOverwriteNoLock does not lock the application and overwrites data if the data does not fit into the buffer. Parameters BufferIndex Index of "Up"-buffer to be used (e.g. 0 for "Terminal"). pBuffer Pointer to character array. Does not need to point to a \0 terminated string. NumBytes Number of bytes to be stored in the SEGGER RTT control block. Notes (1) If there is not enough space in the "Up"-buffer, data is overwritten. (2) For performance reasons this function does not call Init() and may only be called after RTT has been initialized. Either by calling SEGGER_RTT_Init() or calling another RTT API function first. (3) Do not use SEGGER_RTT_WriteWithOverwriteNoLock if a J-Link connection reads RTT data.