138CHAPTER 6 PORT FUNCTIONSFigure 6-6. P22 and P27 Block DiagramPUO : Pull-up resistor option registerPM : Port mode registerRD : Port 2 read signalWR : Port 2 write signalP-chWRPMWRPORTRDWR PUOVDDSelectorPUO2Output Latch(P22, P27)PM22, PM27Internal busAlternate FunctionP22/SCK1,P27/SCK0