Home
last modified time | relevance | path

Searched refs:p (Results 1 – 5 of 5) sorted by relevance

/segger-3.7.0/SEGGER/
DSEGGER_RTT_printf.c111 static void _StoreChar(SEGGER_RTT_PRINTF_DESC * p, char c) { in _StoreChar() argument
114 Cnt = p->Cnt; in _StoreChar()
115 if ((Cnt + 1u) <= p->BufferSize) { in _StoreChar()
116 *(p->pBuffer + Cnt) = c; in _StoreChar()
117 p->Cnt = Cnt + 1u; in _StoreChar()
118 p->ReturnValue++; in _StoreChar()
123 if (p->Cnt == p->BufferSize) { in _StoreChar()
124 if (SEGGER_RTT_Write(p->RTTBufferIndex, p->pBuffer, p->Cnt) != p->Cnt) { in _StoreChar()
125 p->ReturnValue = -1; in _StoreChar()
127 p->Cnt = 0u; in _StoreChar()
DSEGGER.h120 #define SEGGER_PTR2ADDR(p) (/*lint -e(923) -e(9078)*/((PTR_ADDR)(p))) // A… argument
121 #define SEGGER_PTR2PTR(Type, p) (/*lint -e(740) -e(826) -e(9079) -e(9087)*/((Type*)(p))) // A… argument
154 …void (*pfClean) (void *p, unsigned long NumBytes); // Optional clean function for cached memo…
155 …void (*pfInvalidate)(void *p, unsigned long NumBytes); // Optional invalidate function for cached…
DSEGGER_SYSVIEW.c427 const U8* p; in _EncodeData() local
430 p = (const U8*)pSrc; in _EncodeData()
442 *pPayload++ = *p++; in _EncodeData()
922 const char* p; in _VPrintHost() local
935 p = s; in _VPrintHost()
938 c = *p++; in _VPrintHost()
943 c = *p; in _VPrintHost()
999 static void _StoreChar(SEGGER_SYSVIEW_PRINTF_DESC * p, char c) { in _StoreChar() argument
1004 Cnt = p->Cnt; in _StoreChar()
1006 *(p->pPayload++) = (U8)c; in _StoreChar()
[all …]
DSEGGER_RTT.c319 …volatile SEGGER_RTT_CB* p; // Volatile to make sure that compiler cannot change the order of acc… in _DoInit() local
325p = (volatile SEGGER_RTT_CB*)((char*)&_SEGGER_RTT + SEGGER_RTT_UNCACHED_OFF); … in _DoInit()
326 …memset((SEGGER_RTT_CB*)p, 0, sizeof(_SEGGER_RTT)); // Make sure that the RTT CB is always … in _DoInit()
327 p->MaxNumUpBuffers = SEGGER_RTT_MAX_NUM_UP_BUFFERS; in _DoInit()
328 p->MaxNumDownBuffers = SEGGER_RTT_MAX_NUM_DOWN_BUFFERS; in _DoInit()
332 p->aUp[0].sName = "Terminal"; in _DoInit()
333 p->aUp[0].pBuffer = _acUpBuffer; in _DoInit()
334 p->aUp[0].SizeOfBuffer = BUFFER_SIZE_UP; in _DoInit()
335 p->aUp[0].RdOff = 0u; in _DoInit()
336 p->aUp[0].WrOff = 0u; in _DoInit()
[all …]
DSEGGER_SYSVIEW.h92 #define SEGGER_SYSVIEW_PREPARE_PACKET(p) (p) + 4 argument