ML610Q174 User’s ManualChapter 22 PortCFEUL610Q174-01 22-822.3 Description of Operation22.3.1 Input/Output Port FunctionsFor each pin of Port C, either output or input is selected by setting the Port C direction register (PCDIR).In output mode, high-impedance output mode, P-channel open drain output mode, N-channel open drain output mode,or CMOS output mode can be selected by setting the Port C control registers 0 and 1 (PCCON0 and PCCON1).In input mode, high-impedance input mode, input mode with a pull-down resistor, or input mode with a pull-up resistorcan be selected by setting the Port C control registers 0 and 1 (PCCON0 and PCCON1).At a system reset, high-impedance output mode is selected as the initial state.In output mode, “L” or “H” level is output to each pin of Port C depending on the value set by the Port C data register(PCD).In input mode, the input level of each pin of Port C can be read from the Port C data register (PCD).Note:Either an I/O Port or a segment driver output can be selected as a function of SEG8 to SEG15 by a LCD port segmentselection register(LSELS1). For details of the LCD driver, refer to the “Chapter 25 LCD driver”.