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 MICROCOMPUTERPinnameP 93/DA0/TB3INP in No.4 (FP)2 (GP)Function selection3,3F3h2,3FEh0,3DCh7,35BhSetting registerRemarksDA0O DA output0 0 1 0 163TB3INI Countsource input0 0 0 0 95P93I Portinput (No pulled high)0 0 0 0 167P93I Portinput (Pulled high)0 1 0 0 167P93O Portoutput1 X 0 0 1673,3F3hPortP93 direction register1722,3FEhP90to P93 pull-up control register1740,3DChD-A0output enable bit of D-A control register1647,35BhEventclock select bit ot timer B3 mode register95PagePinname P 92/TB2IN/SOUT3P in No.5 (FP)3 (GP)Function selectionSetting register2,3F3h2,3FEh7,39Dh3,362h2,362hRemarksTB2INI Countsource input0 0 0 0 X 95SOUT3O SerialI/O data output0 0 0 1 0 149P92I Portinput (No pulled high)0 0 X 0 X 167P92I Portinput (Pulled high)0 1 X 0 X 167P92O Portoutput1 X X 0 X 1672,3F3hPortP92 direction register1722,3FEhP90to P93 pull-up control register1747,39DhEventclock select bit ot timer B2 mode register953,362hSI/O3port select bit of SI/O3 control register1502,362hSOUT3output disable bit of SI/O3 control register150PagePinname P 91/TB1IN/SIN3P in No.6 (FP)4 (GP)Function selection1,3F3h2,3FEh7,39Ch3,362hSetting registerRemarksPageTB1INI Countsource input0 0 0 0 95SIN3I SerialI/O data input0 0 0 1 149P91I Portinput (No pulled high)0 0 X 0 167P91I Portinput (Pulled high)0 1 X 0 167P91O Portoutput1 X X 0 1671,3F3hPortP91 direction register1722,3FEhP90to P93 pull-up control register1747,39ChEventclock select bit of timer B1 mode register953,362hSI/O3port select bit of SI/O3 control register150573

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

Saved successfully!

Ooh no, something went wrong!