SEGGER_RTT_ReadUpBufferNoLock() function
Public code SEGGER_RTT_ReadUpBufferNoLock() Function description Reads characters from SEGGER real-time-terminal control block which have been previously stored by the application. Do not lock against interrupts and multiple access. Used to do the same operation that J-Link does, to transfer RTT data via other channels, such as TCP/IP or UART. Parameters BufferIndex Index of Up-buffer to be used. pBuffer Pointer to buffer provided by target application, to copy characters from RTT-up-buffer to. BufferSize Size of the target application buffer. Return value Number of bytes that have been read. Additional information This function must not be called when J-Link might also do RTT.