SEGGER_RTT_ConfigUpBuffer() function
SEGGER_RTT_ConfigUpBuffer Function description Run-time configuration of a specific up-buffer (T->H). Buffer to be configured is specified by index. This includes: Buffer address, size, name, flags, ... Parameters BufferIndex Index of the buffer to configure. 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. < 0 - Error Additional information Buffer 0 is configured on compile-time. May only be called once per buffer. Buffer name and flags can be reconfigured using the appropriate functions.