SEGGER_RTT_WriteSkipNoLock() function
SEGGER_RTT_WriteSkipNoLock Function description Stores a specified number of characters in SEGGER RTT control block which is then read by the host. SEGGER_RTT_WriteSkipNoLock does not lock the application and skips all 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. 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, all data 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.
![]()
Status = (int)SEGGER_RTT_WriteSkipNoLock(CHANNEL_ID_UP, aPacket, (unsigned int)(pPayload - aPacket));
SEGGER_RTT_WriteSkipNoLock() is called by 3 functions and calls 5 functions:
![]()
SEGGER_RTT_WriteSkipNoLock()
SEGGER_RTT_WriteSkipNoLock() reads 9 variables and writes 1 variable:
![]()
SEGGER_RTT_WriteSkipNoLock()