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 100/AN0P in No.97(FP)95 (GP)Function selection0,3F6h4,3FEhSetting registerRemarksAN0I A-D input0 0 153P100I Portinput (No pulled high)0 0 167P100I Portinput (Pulled high)0 1 167P100O Portoutput1 X 1670,3F6hPortP100 direction register1724,3FEhP100to P103 pull-up control register174PagePinname P 97/ADTRG/SIN4P in No.100(FP)98 (GP)Function selection7,3F3h3,3FEh5,3D6h3,366hSetting registerRemarksADTRGI A-D trigger input0 0 1 0 153SIN4I SerialI/O data input0 0 X 1 149P97I Portinput (No pulled high)0 0 X 0 167P97I Portinput (Pulled high)0 1 X 0 167P97O Portoutput1 X X 0 1677,3F3hPortP97 direction register1723,3FEhP94to P97 pull-up control register1745,3D6hTriggerselect bit of A-D control register 01553,366hSI/O4port select bit of SI/O4 control register150Page600

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

Saved successfully!

Ooh no, something went wrong!