21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix 3 Setting register for pin function selectedMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERPinname P 90/TB0IN/CLK3P in No.7 (FP)5 (GP)Function selectionSetting register0,3F3h2,3FEh7,39Bh3,362h6,362hRemarksTB0INI Countsource input0 0 0 0 X 95CLK3O Serialclock output0 0 X 1 1 149CLK3I Serialclock input0 0 X 1 0 149P90I Portinput (No pulled high)0 0 X 0 X 167P90I Portinput (Pulled high)0 1 X 0 X 167P90O Portoutput1 X X 0 X 1670,3F3hPortP90 direction register1722,3FEhP90to P93 pull-up control register1747,39BhEventclock select bit of timer B0 mode register953,362hSI/O3port select bit of SI/O3 control register1506,362hSynchronousclock select bit of SI/O3 control register150PagePinnameP 87/XCINP in No.10(FP)8 (GP)Function selection7,3F2h1,3FEh4,006hSetting registerRemarksXCINI Subclock input0 0 1 41P87I Portinput (No pulled high)0 0 0 167P87I Portinput (Pulled high)0 1 0 167P87O Portoutput1 X 0 1677,3F2hPortP87 direction register1721,3FEhP84to P87 pull-up control register1744,006hPortXc select bit of system clock control register 044PagePinnameP 86/XCOUTP in No.11(FP)9 (GP)Function selection6,3F2h1,3FEh4,006hSetting registerRemarksXCOUTO Subclock output0 0 1 41P86I Portinput (No pulled high)0 0 0 167P86I Portinput (Pulled high)0 1 0 167P86O Portoutput1 X 0 1676,3F2hPortP86 direction register1721,3FEhP84to P87 pull-up control register1744,006hPortXc select bit of system clock control register 044Page574

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

Saved successfully!

Ooh no, something went wrong!