21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix 3 Setting register for pin function selectedMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERPinname P 00/D0P in No.88(FP)86 (GP)Function selectionSetting register0,3E2h0,3FCh5,004h4,004h1,004h0,004hBYTERemarksPageD0I/ODatabusX X Except11X 1 X 34P00I Port input (No pulled high)P00I Port input (Pulled high)P00O Port output000011,3E2h0011XXort P00X1X1X1registeX1X1X10000000 P direction r1720,3FChP00to P03 pull-up control register1745,004hMultiplexedbus space select bit of processor mode register 0294,004hMultiplexedbus space select bit of processor mode register 0291,004hProcessormode bit of processor mode register 0290,004hProcessormode bit of processor mode register 029010101XHXHXH167167167BYTEBYTE pin32Pinname P 107/AN7/KI3P in No.89(FP)87 (GP)Function selection7,3F6h5,3FEhSetting registerRemarksPageKI3I Keyinput0 X 67AN7I A-D input0 0 153P107I Portinput (No pulled high)0 0 167P107I Portinput (Pulled high)0 1 167P107O Portoutput1 X 1677,3F6hPortP107 direction register1725,3FEhP104to P107 pull-up control register174Pinname P 106/AN6/KI2P in No.90(FP)88 (GP)Function selection6,3F6h5,3FEhSetting registerRemarksPageKI2I Keyinput0 X 67AN6I A-D input0 0 153P106I Portinput (No pulled high)0 0 167P106I Portinput (Pulled high)0 1 167P106O Portoutput1 X 1676,3F6hPortP106 direction register1725,3FEhP104to P107 pull-up control register174Pinname P 105/AN5/KI1P in No.91(FP)89 (GP)Function selection5,3F6h5,3FEhSetting registerRemarksPageKI1I Keyinput0 X 67AN5I A-D input0 0 153P105I Portinput (No pulled high)0 0 167P105I Portinput (Pulled high)0 1 167P105O Portoutput1 X 1675,3F6hPortP105 direction register1725,3FEhP104to P107 pull-up control register174598

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!