SEGGER_SYSVIEW_ShrinkId() function
SEGGER_SYSVIEW_ShrinkId() Function description Get the shrunken value of an Id for further processing like in SEGGER_SYSVIEW_NameResource(). Parameters Id - The 32-bit value to be shrunken. Return value Shrunken Id. Additional information The parameters to shrink an Id can be configured in SEGGER_SYSVIEW_Conf.h and via SEGGER_SYSVIEW_SetRAMBase(). SEGGER_SYSVIEW_ID_BASE: Lowest Id reported by the application. (i.e. 0x20000000 when all Ids are an address in this RAM) SEGGER_SYSVIEW_ID_SHIFT: Number of bits to shift the Id to save bandwidth. (i.e. 2 when Ids are 4 byte aligned)
SEGGER_SYSVIEW_ShrinkId() reads 2 variables:
![]()
SEGGER_SYSVIEW_ShrinkId()