7 I/O PORTS (PPORT)S1C31D50/D51 TECHNICAL MANUAL Seiko Epson Corporation 7-21(Rev. 2.00)Register name Bit Bit name Initial Reset R/W Remarks 48pin64pin80pin100pinP3MODSEL(P3 Port Mode SelectRegister)15–8 – 0x00 – R – – – – –7 P3SEL7 0 H0 R/W – – – – ✓6 P3SEL6 0 H0 R/W – – – ✓5 P3SEL5 0 H0 R/W – – ✓ ✓4 P3SEL4 0 H0 R/W – ✓ ✓ ✓3 P3SEL3 0 H0 R/W – ✓ ✓ ✓2 P3SEL2 0 H0 R/W ✓ ✓ ✓ ✓1 P3SEL1 0 H0 R/W ✓ ✓ ✓ ✓0 P3SEL0 0 H0 R/W ✓ ✓ ✓ ✓P3FNCSEL(P3 Port FunctionSelect Register)15–14 P37MUX[1:0] 0x0 H0 R/W – – – – ✓13–12 P36MUX[1:0] 0x0 H0 R/W – – – ✓11–10 P35MUX[1:0] 0x0 H0 R/W – – ✓ ✓9–8 P34MUX[1:0] 0x0 H0 R/W – ✓ ✓ ✓7–6 P33MUX[1:0] 0x0 H0 R/W – ✓ ✓ ✓5–4 P32MUX[1:0] 0x0 H0 R/W ✓ ✓ ✓ ✓3–2 P31MUX[1:0] 0x0 H0 R/W ✓ ✓ ✓ ✓1–0 P30MUX[1:0] 0x0 H0 R/W ✓ ✓ ✓ ✓Table 7.7.4.2 P3 Port Group Function AssignmentPortnameP3SELy = 0 P3SELy = 148pin64pin80pin100pinGPIOP3yMUX = 0x0(Function 0)P3yMUX = 0x1(Function 1)P3yMUX = 0x2(Function 2)P3yMUX = 0x3(Function 3)Peripheral Pin Peripheral Pin Peripheral Pin Peripheral PinP30 P30 RFC RFCLKO0 UPMUX *1 – – – – ✓ ✓ ✓ ✓P31 P31 REMC3 REMO UPMUX *1 – – – – ✓ ✓ ✓ ✓P32 P32 REMC3 CLPLS UPMUX *1 – – – – ✓ ✓ ✓ ✓P33 P33 – – UPMUX *1 – – – – – ✓ ✓ ✓P34 P34 – – UPMUX *1 – – – – – ✓ ✓ ✓P35 P35 – – UPMUX *1 – – – – – – ✓ ✓P36 P36 – – UPMUX *1 – – – – – – – ✓P37 P37 – – UPMUX *1 – – – – – – – ✓*1: Refer to the “Universal Port Multiplexer” chapter.7.7.5 P4 Port GroupThe P4 port group supports the GPIO and interrupt functions.Table 7.7.5.1 Control Registers for P4 Port GroupRegister name Bit Bit name Initial Reset R/W Remarks 48pin64pin80pin100pinP4DAT(P4 Port DataRegister)15 P4OUT7 0 H0 R/W – – – – ✓14 P4OUT6 0 H0 R/W ✓ ✓ ✓ ✓13 P4OUT5 0 H0 R/W ✓ ✓ ✓ ✓12 P4OUT4 0 H0 R/W – ✓ ✓ ✓11 P4OUT3 0 H0 R/W – ✓ ✓ ✓10 P4OUT2 0 H0 R/W – – ✓ ✓9 P4OUT1 0 H0 R/W – – ✓ ✓8 P4OUT0 0 H0 R/W ✓ ✓ ✓ ✓7 P4IN7 0 H0 R – – – – ✓6 P4IN6 0 H0 R ✓ ✓ ✓ ✓5 P4IN5 0 H0 R ✓ ✓ ✓ ✓4 P4IN4 0 H0 R – ✓ ✓ ✓3 P4IN3 0 H0 R – ✓ ✓ ✓2 P4IN2 0 H0 R – – ✓ ✓1 P4IN1 0 H0 R – – ✓ ✓0 P4IN0 0 H0 R ✓ ✓ ✓ ✓