You can also set the port as output after setting Port Data Registers PTADL/H, this registers hold the data while the port is set as input (DDRADH/L == 0x0000).
You can also set the port as output after setting Port Data Registers PTADL/H, this registers hold the data while the port is set as input (DDRADH/L == 0x0000).