My understanding is that P0-P7 are all input when I2C in read mode, and all are output at write mode, we can't configure such as P0-P3 input, P4-P7 output, right?
But in datasheet 9.2 typical application,
B. P0, P2, and P3 are configured as outputs.
C. P1, P4, and P5 are configured as inputs.
How can we achieve that?