Hello @JRoberto ,
Why that RTD extension is required.
I found the register to make a pin as HIGH and LOW.
PDDR -- Is the pin used for input or output.
PDOR -- If output, set the value on the pin (0 or 1).
I verified the output, it is changing as per my requirement.

Can you please tell me the above method is correct or not.
BR,
Sarwath