Home
last modified time | relevance | path

Searched refs:WrOff (Results 1 – 2 of 2) sorted by relevance

/segger-2.7.6/SEGGER/
DSEGGER_RTT.c316 p->aUp[0].WrOff = 0u; in _DoInit()
325 p->aDown[0].WrOff = 0u; in _DoInit()
363 unsigned WrOff; in _WriteBlocking() local
369 WrOff = pRing->WrOff; in _WriteBlocking()
372 if (RdOff > WrOff) { in _WriteBlocking()
373 NumBytesToWrite = RdOff - WrOff - 1u; in _WriteBlocking()
375 NumBytesToWrite = pRing->SizeOfBuffer - (WrOff - RdOff + 1u); in _WriteBlocking()
377 …NumBytesToWrite = MIN(NumBytesToWrite, (pRing->SizeOfBuffer - WrOff)); // Number of bytes tha… in _WriteBlocking()
379 pDst = (pRing->pBuffer + WrOff) + SEGGER_RTT_UNCACHED_OFF; in _WriteBlocking()
383 WrOff += NumBytesToWrite; in _WriteBlocking()
[all …]
DSEGGER_RTT.h233 unsigned WrOff; // Position of next item to be written by either target. member
246 …volatile unsigned WrOff; // Position of next item to be written by host. Must be volatile… member
314 …T_BUFFER_DOWN*)((char*)&_SEGGER_RTT.aDown[n] + SEGGER_RTT_UNCACHED_OFF))->WrOff - ((SEGGER_RTT_BUF…
331 …R_RTT_BUFFER_UP*)((char*)&_SEGGER_RTT.aUp[n] + SEGGER_RTT_UNCACHED_OFF))->WrOff - ((SEGGER_RTT_BUF…