System Integration Module (SIM)MCF5253 Reference Manual, Rev. 1Freescale Semiconductor 9-259.8.1 General Purpose InputsThere are 60 possible general purpose inputs. They can be read in registers GPIO-READ andGPIO-READ1. These bits reflect the logical value of the pin they are associated with. The GPIO-READand GPIO-READ1 registers always reflect the pin values, independent of the settings in theGPIO-FUNCTION, GPIO-EN, GPIO1-FUNCTION and GPIO1-EN registers. It does not matter if the pinis driving data out, or is being driven. The GPIO-READ and GPIO-READ1 bit to pin association isdetailed in Table 9-27.Table 9-27. General Purpose Input to Pin MappingGeneralPurpose Input Read From Pin General Purpose Input Read From PinGPIO-READ(31) IDE_DIOR/GPIO31 GPIO1-READ(63) BCLKE/GPIO63GPIO-READ(30) BUFENB2/GPIO30 GPIO1-READ(62) noneGPIO-READ(29) BUFENB1/GPIO29 GPIO1-READ(61) noneGPIO-READ(28) CS1/QSPICS3/GPIO28 GPIO1-READ(60) SDCS0/GPIO60GPIO-READ(27) QSPIDOUT/SFSY/GPIO27 GPIO1-READ(59) SDRAS/GPIO59GPIO-READ(26) RCK/QSPIDIN/QSPIDOUT/GPIO26 GPIO1-READ(58) ADOUT/SCLK4/GPIO58GPIO-READ(25) QSPICLK/SUBR/GPIO25 GPIO1-READ(57) ADIN5/GPI57GPIO-READ(24) QSPICS2/MCLK2/GPIO24 GPIO1-READ(56) ADIN4/GPI56GPIO-READ(23) LRCK2/GPIO23 GPIO1-READ(55) ADIN3/GPI55GPIO-READ(22) SCLK2/GPIO22 GPIO1-READ(54) ADIN2/GPI54GPIO-READ(21) WAKEUP/GPIO21 GPIO1-READ(53) ADIN1/GPI53GPIO-READ(20) SCLK1/GPIO20 GPIO1-READ(52) ADIN0/GPI52GPIO-READ(19) LRCK1/GPIO19 GPIO1-READ(51) PSTCLK/GPIO51GPIO-READ(18) SDATAO1/TOUT0/GPIO18 GPIO1-READ(50) PST0/GPIO50GPIO-READ(17) SDATAI1/GPIO17 GPIO1-READ(49) PST1/GPIO49GPIO-READ(16) QSPICS1/EBUOUT2/GPIO16 GPIO1-READ(48) PST2/INTMON2/GPIO48GPIO-READ(15) QSPICS0/EBUIN4/GPIO15 GPIO1-READ(47) PST3/INTMON1/GPIO47GPIO-READ(14) EBUIN3/CMD_SDIO2/GPIO14 GPIO1-READ(46) RXD0/GPIO46GPIO-READ(13) EBUIN2/SCLKOUT/GPIO13 GPIO1-READ(45) TXD0/GPIO45GPIO-READ(12) TA/GPIO12 GPIO1-READ(44) SDA1/RXD1/GPIO44GPIO-READ(11) MCLK1/GPIO11 GPIO1-READ(43) LRCK3/AUDIOCLK/GPIO43GPIO-READ(10) SCL1/TXD1/GPIO10 GPIO1-READ(42) SDA0/SDATA3/GPIO42GPIO-READ(9) none GPIO1-READ(41) SCL0/SDATA1_BS1/GPIO41GPIO-READ(8) SDATAI3/GPIO8 GPIO1-READ(40) BCLK/GPIO40GPIO-READ(7) none GPIO1-READ(39) SDCAS/GPIO39GPIO-READ(6) EF/RXD2/GPIO6 GPIO1-READ(38) SDWE/GPIO38