SEGGER_RTT_Write() function
SEGGER_RTT_Write Function description Stores a specified number of characters in SEGGER RTT control block which is then read by the host. 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) Data is stored according to buffer flags.