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 96/ANEX1/SOUT4P in No.1 (FP)99 (GP)Function selectionSetting register6,3F3h3,3FEh7,3D7h6,3D7h3,366h2,366hRemarksANEX1I AD extend input0 0 1 0 0 X 153SOUT4O SerialI/O data output0 0 0 0 1 0 149P96I Portinput (No pulled high)0 0 0 0 0 X 167P96I Portinput (Pulled high)0 1 0 0 0 X 167P96O Portoutput1 X 0 0 0 X 1676,3F3hPortP96 direction register1723,3FEhP94to P97 pull-up control register1747,3D7hExternalop-amp connection mode bit of A-D contol register 11556,3D7hExternalop-amp connection mode bit of A-D contol register 11553,366hSI/O4port select bit of SI/O4 control register1502,366hSOUT4output disable bit of SI/O4 control register150PagePinname P 95/ANEX0/CLK4P in No.2 (FP)100 (GP)Function selectionSetting register5,3F3h3,3FEh7,3D7h6,3D7h3,366h6,366hRemarksANEX0I AD extend input0 0 0 1 0 X 153ANEX0OOutput when op-amp connectionmode0 0 1 1 0 X 153SCLK4O Serialclock output0 0 0 0 1 1 149SCLK4I Serialclock input0 0 0 0 1 0 149P95I Portinput (No pulled high)0 0 0 0 0 X 167P95I Portinput (Pulled high)0 1 0 0 0 X 167P95O Portoutput1 X 0 0 0 X 1675,3F3hPortP95 direction register1723,3FEhP94to P97 pull-up control register1747,3D7hExternalop-amp connection mode bit of A-D control register 11556,3D7hExternalop-amp connection mode bit of A-D control register 11553,366hSI/O4port select bit of SI/O4 control register1506,366hSynchronousclock select bit of SI/O4 control register150PagePinnameP 94/DA1/TB4INP in No.3 (FP)1 (GP)Function selection4,3F3h3,3FEh1,3DCh7,35ChSetting registerRemarksDA1O DA output0 0 1 0 163TB4INI Countsource input0 0 0 0 95P94I Portinput (No pulled high)0 0 0 0 167P94I Portinput (Pulled high)0 1 0 0 167P94O Portoutput1 X 0 0 1674,3F3hPortP94 direction register1723,3FEhP94to P97 pull-up control register1741,3DChD-A1output enable bit of D-A control register1647,35ChEventclock select bit ot timer B4 mode register95Page572

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

Saved successfully!

Ooh no, something went wrong!