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 41/A17P in No.53(FP)51 (GP)Function selectionSetting register1,3EAh0,3FDh6,004h5,004h4,004h1,004h0,004hRemarksA17O AddressoutputX X 0 Except11X 1 340 0 XX X 0 0P41I Port input (No pulled high)0 0 01 1 0 11670 01Except 11X 10 1 XX X 0 0P41I Port input (Pulled high)0 1 01 1 0 11670 1 1Except 11X 11 X XX X 0 0P41O Port output1 X 01 1 0 11671 X1Except 11X 11,3EAhPortP41 direction register1720,3FDhP40to P43 pull-up control register1746,004hPortP40 to P43 function select bit of processor mode register 0295,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 029PagePinname P 40/A16P in No.54(FP)52 (GP)Function selectionSetting register0,3EAh0,3FDh6,004h5,004h4,004h1,004h0,004hRemarksA16O AddressoutputX X 0 Except11X 1 340 0 XX X 0 0P40I Port input (No pulled high)0 0 01 1 0 11670 01Except 11X 10 1 XX X 0 0P40I Port input (Pulled high)0 1 01 1 0 11670 1 1Except 11X 11 X XX X 0 0P40O Port output1 X 01 1 0 11671 X1Except 11X 10,3EAhPortP40 direction register1720,3FDhP40to P43 pull-up control register1746,004hPortP40 to P43 function select bit of processor mode register 0295,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 029PagePinname P 37/A15P in No.55(FP)53 (GP)Function selectionSetting register7,3E7h7,3FCh5,004h4,004h1,004h0,004hRemarksA15O AddressoutputX X Except11X 1 34P37I Port input (No pulled high)P37I Port input (Pulled high)P37O Port output000011,3E7h0011XXort P37X10100registeX101000000007 P direction r1727,3FChP34to P37 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 029010101Page167167167587

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

Saved successfully!

Ooh no, something went wrong!