The ShadowRegs user module creates a RAM variable (the shadow
register) that caches values written to
a port data register (PRTxDR). Usage of a shadow register
enables CPU control of an individual GPIO
output pin without the risk of corrupting the settings of other
GPIO pins sharing the same port.