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 64/CTS1/RTS1/CTS0/CLKS1P in No.34(FP)32 (GP)Function selectionSetting register4,3EEh5,3FDh6,3B0h5,3B0h4,3B0h4,3ACh2,3ACh3,3A8hRemarksCLKS1O SerialI/O clock outputX X X 1 1 1 X 0 1 113CTS0I CTS input0 X 1 0 0 0 X X 1 113RTS1O RTS outputX X 0 0 0 0 1 X 1 113CTS1I CTS input0 X 0 0 0 0 0 X 1 113P64I Portinput (No pulled high)0 0 X X X X X X 167P64I Portinput (Pulled high)0 1 X X X X X X 167P64O Portoutput1 X X X X X X X 167Remark 1: Set serial I/O enabled by serial I/O mode select bit of UART1 transmit/receive mode register.4,3EEhPortP64 direction register1725,3FDhP64to P67 pull-up control register1746,3B0hSeparateCTS/RTS bit of UART transmit/receive control register 21215,3B0hCLK/CLKS select bit 1 of UART transmit/receive control register 21214,3B0hCLK/CLKS select bit 0 of UART transmit/receive control register 21214,3AChCTS/RTS disable bit of UART1 transmit/receive control register 01192,3AChCTS/RTS select bit of UART1 transmit/receive control register 01193,3A8hInternal/externalclock select bit of UART1 transmit/receive mode register118PagePinname P 63/TXD0P in No.35(FP)33 (GP)Function selection3,3EEh4,3FDhSetting registerRemarksTXD0O SerialI/O data outputX X 1,2 113P63I Portinput (No pulled high)0 0 167P63I Portinput (Pulled high)0 1 167P63O Portoutput1 X 167Remark 1: Set serial I/O enabled by serial I/O mode select bit of UART0 transmit/receive mode register.Remark 2: Can be selected CMOS output or N channel open-drain output.3,3EEhPortP63 direction register1724,3FDhP60to P63 pull-up control register174PagePinname P 62/RXD0P in No.36(FP)34 (GP)Function selection2,3EEh4,3FDhSetting registerRemarksRXD0I SerialI/O data input0 X 1 113P62I Portinput (No pulled high)0 0 167P62I Portinput (Pulled high)0 1 167P62O Portoutput1 X 167Remark 1: Set serial I/O enabled by serial I/O mode select bit of UART0 transmit/receive mode register.2,3EEhPortP62 direction register1724,3FDhP60to P63 pull-up control register174Page581

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

Saved successfully!

Ooh no, something went wrong!