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 MICROCOMPUTERPinnameP 53/BCLKP in No.43(FP)41 (GP)Function selectionSetting register3,3EBh2,3FDh7,004h1,004h0,004hRemarksBCLKO BCLK outputX X 0 X 1 34P53I Portinput (No pulled high)0 0 X 0 0 167P53I Portinput (Pulled high)0 1 X 0 0 167P53O Portoutput1 X X 0 0 1673,3EBhPortP53 direction register1722,3FDhP50to P53 pull-up control register1747,004hBCLK output disable bit of processor mode register 0291,004hProcessormode bit of processor mode register 0290,004hProcessormode bit of processor mode register 029PagePinnameP 52/RDP in No.44(FP)42 (GP)Function selection2,3EBh2,3FDh1,004h0,004hSetting registerRemarksRDO RD outputX X X 1 34P52I Portinput (No pulled high)0 0 0 0 167P52I Portinput (Pulled high)0 1 0 0 167P52O Portoutput1 X 0 0 1672,3EBhPortP52 direction register1722,3FDhP50to P53 pull-up control register1741,004hProcessormode bit of processor mode register 0290,004hProcessormode bit of processor mode register 029PagePinnameP 51/WRH/BHEP in No.45(FP)43 (GP)Function selectionSetting register1,3EBh2,3FDh2,004h1,004h0,004hRemarksBHEO BHE outputX X 0 X 1 34WRHO WRH outputX X 1 X 1 34P51I Portinput (No pulled high)0 0 X 0 0 167P51I Portinput (Pulled high)0 1 X 0 0 167P51O Portoutput1 X X 0 0 1671,3EBhPortP51 direction register1722,3FDhP50to P53 pull-up control register1742,004hR/W mode select bit of processor mode register 0291,004hProcessormode bit of processor mode register 0290,004hProcessormode bit of processor mode register 029PagePinnameP 50/WRL/WRP in No.46(FP)44 (GP)Function selectionSetting register0,3EBh2,3FDh2,004h1,004h0,004hRemarksWRO WR outputX X 0 X 1 34WRLO WRLoutputX X 1 X 1 34P50I Portinput (No pulled high)0 0 X 0 0 167P50I Portinput (Pulled high)0 1 X 0 0 167P50O Portoutput1 X X 0 0 1670,3EBhPortP50 direction register1722,3FDhP50to P53 pull-up control register1742,004hR/W select bit of processor mode register 0291,004hProcessormode bit of processor mode register 0290,004hProcessormode bit of processor mode register 029Page584

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

Saved successfully!

Ooh no, something went wrong!