SEGGER_RTT_PutCharSkipNoLock() function
SEGGER_RTT_PutCharSkipNoLock Function description Stores a single character/byte in SEGGER RTT buffer. SEGGER_RTT_PutCharSkipNoLock does not lock the application and skips the byte, if it does not fit into the buffer. Parameters BufferIndex Index of "Up"-buffer to be used (e.g. 0 for "Terminal"). c Byte to be stored. Return value Number of bytes which have been stored in the "Up"-buffer. Notes (1) If there is not enough space in the "Up"-buffer, the character is dropped. (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.
Syntax
unsigned SEGGER_RTT_PutCharSkipNoLock (unsigned BufferIndex,
char c);