136CHAPTER 6 PORT FUNCTIONSFigure 6-8. P22 and P27 Block DiagramPUO : Pull-up resistor option registerPM : Port mode registerRD : Port 2 read signalWR : Port 2 write signalP-chWR PMWR PORTRDWR PUOAVDDSelectorPUO2Output Latch(P22 and P27)PM22, PM27Internal busAlternate FunctionP22/SCK1,P27/SCK0/SCL