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 03/D3P in No.85(FP)83 (GP)Function selectionSetting register3,3E2h0,3FCh5,004h4,004h1,004h0,004hBYTERemarksPageD3I/ODatabusX X Except11X 1 X 34P03I Port input (No pulled high)P03I Port input (Pulled high)P03O Port output000011,3E2h0011XXort P03X1X1X1registeX1X1X10000003 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 02/D2P in No.86(FP)84 (GP)Function selectionSetting register2,3E2h0,3FCh5,004h4,004h1,004h0,004hBYTERemarksPageD2I/ODatabusX X Except11X 1 X 34P02I Port input (No pulled high)P02I Port input (Pulled high)P02O Port output000011,3E2h0011XXort P02X1X1X1registeX1X1X10000002 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 01/D1P in No.87(FP)85 (GP)Function selectionSetting register1,3E2h0,3FCh5,004h4,004h1,004h0,004hBYTERemarksPageD1I/ODatabusX X Except11X 1 X 34P01I Port input (No pulled high)P01I Port input (Pulled high)P01O Port output000011,3E2h0011XXort P01X1X1X1registeX1X1X10000001 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 pin32597

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

Saved successfully!

Ooh no, something went wrong!