SEGGER_RTT_AllocUpBuffer() function
SEGGER_RTT_AllocUpBuffer Function description Run-time configuration of the next up-buffer (T->H). The next buffer, which is not used yet is configured. This includes: Buffer address, size, name, flags, ... Parameters sName Pointer to a constant name string. pBuffer Pointer to a buffer to be used. BufferSize Size of the buffer. Flags Operating modes. Define behavior if buffer is full (not enough space for entire message). Flags[31:24] are used for validity check and must be zero. Flags[23:2] are reserved for future use. Flags[1:0] = RTT operating mode. Return value >= 0 - O.K. Buffer Index < 0 - Error