ML610Q174 User’s ManualChapter 23 PortDFEUL610Q174-01 23-123. Port D23.1 OverviewThis LSI includes Port D (PD0 to PD7), which is a 8-bit input/output port.Either an I/O Port or a segment driver output can be selected as a function of SEG16 to SEG23 by a LCD port segmentselection register(LSELS2). For details of the LCD driver, refer to the “Chapter 25 LCD driver”.23.1.1 Features• Allows selection of high-impedance output, P-channel open drain output, N-channel open drain output, or CMOSoutput in output mode for each bit.• Allows selection of high-impedance input, input with a pull-down resistor, or input with a pull-up resistor in inputmode for each bit.• Either an I/O Port or a segment driver output can be selected as a function of SEG16 to SEG23 by a LCD portsegment selection register(LSELS2).23.1.2 ConfigurationPDD : Port D data registerPDDIR : Port D direction registerPDCON0 : Port D control register 0PDCON1 : Port D control register 1Figure 23-1 Configuration of Port DData busPD0~PD7PDDIRPDCON0,1V DDV DDV SSV SS8 PortDOutputControllerPDDV DDV SSPull-upPull-downController8SEG16~SEG23