CHAPTER 4 PORT FUNCTIONSUser’s Manual U16896EJ2V0UD 874.3.4 Port 5Port 5 is a 6-bit I/O port for which I/O settings can be controlled in 1-bit units.Port 5 includes the following alternate functions.Table 4-7. Alternate-Function Pins of Port 5Pin No. Pin Name Alternate Function I/O PULLNoteRemark Block Type28 P50 TI011/RTP00/KR0 I/O E10-SULT29 P51 TI50/RTP01/KR1 I/O E10-SULT30 P52 TO50/RTP02/KR2 I/O E00-SUT31 P53 RTP03/KR3 I/O Ex0-SUT34 P54 RTP04/KR4 I/O Ex0-SUT35 P55 RTP05/KR5 I/OYes –Ex0-SUTNote Software pull-up function(1) Port 5 register (P5)0 is output1 is outputP5n01Control of output data (in output mode) (n = 0 to 5)P5After reset: 00H (output latch) R/W Address: FFFFF40AH0 0 P55 P54 P53 P52 P51 P50(2) Port 5 mode register (PM5)1Output modeInput modePM5n01Control of I/O mode (n = 0 to 5)1 PM55 PM54 PM53 PM52 PM51 PM50After reset: FFH R/W Address: FFFFF42AHPM5