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 MICROCOMPUTERP in name P 22/A2(/D2/D1)P in No.70(FP)68 (GP)A2/D1A2/D2I/OI/OFunction selectionMultiplexed busMultiplexed busSetting register2,3E6h4,3FCh5,004h4,004h1,004h0,004hBYTEXXXXXXXX01X1101XXXXX1111LLHHRemarksA2O AddressoutputX X 0 0 X 1 X 34P22I Portinput (No pulled high)0 0 X X 0 0 X 167P22I Portinput (Pulled high)0 1 X X 0 0 X 167P22O Portoutput1 X X X 0 0 X 1672,3E6hPortP22 direction register1724,3FChP20to P23 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 029Page3434BYTEBYTE pin32P in name P 21/A1(/D1/D0)P in No.71(FP)69 (GP)A1/D0A1/D1I/OI/OFunction selectionMultiplexed busMultiplexed busSetting register1,3E6h4,3FCh5,004h4,004h1,004h0,004hBYTEXXXXXXXX01X1101XXXXX1111LLHHRemarksA1O AddressoutputX X 0 0 X 1 X 34P21I Portinput (No pulled high)0 0 X X 0 0 X 167P21I Portinput (Pulled high)0 1 X X 0 0 X 167P21O Portoutput1 X X X 0 0 X 1671,3E6hPortP21 direction register1724,3FChP20to P23 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 029Page3434BYTEBYTE pin32P in name P 20/A0(/D0/-)P in No.72(FP)70 (GP)A0/-A0/D0I/OI/OFunction selectionMultiplexed busMultiplexed busSetting register0,3E6h4,3FCh5,004h4,004h1,004h0,004hBYTEXXXXXXXX01X1101XXXXX1111LLHHRemarksA0O AddressoutputX X 0 0 X 1 X 34P20I Portinput (No pulled high)0 0 X X 0 0 X 167P20I Portinput (Pulled high)0 1 X X 0 0 X 167P20O Portoutput1 X X X 0 0 X 1670,3E6hPortP20 direction register1724,3FChP20to P23 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 029Page3434BYTEBYTE pin32592

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

Saved successfully!

Ooh no, something went wrong!