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 73/CTS2/RTS2/TA1IN/ VP in No.27(FP)25 (GP)Function selectionSetting register3,3EFh6,3FDh1,383h0,383h4,397h4,37Ch2,37Ch2,348hRemarksTA1INI Gatefunction level input0 X 0 0 1 X X 0 83TA1INI Countsource input0 X 0 0 X X X 0 83TA1INI Externaltrigger input0 X 0 0 1 X X 0 83RTS2O RTS outputX X X X X 0 1 0 1 113CTS2I CTS input0 X X X X 0 0 0 1 113V O V phase outputX X X X X X X 1 101P73I Portinput (No pulled high)0 0 X X X X X 0 167P73I Portinput (Pulled high)0 1 X X X X X 0 167P73O Portoutput1 X X X X X X 0 167Remark 1 : Set serial I/O enabled by serial I/O mode select bit of UART2 transmit/receive mode register.3,3EFhPortP73 direction register1726,3FDhP70to P73 pull-up control register1741,383hBit1 of trigger select register870,383hBit0 of trigger select register874,397hBit4 of timer A1 mode register854,37ChCTS/RTS disable bit of UART2 transmit/receive control register 01192,37ChCTS/RTS select bit of UART2 transmit/receive control register 01192,348hThreephase mode select bit101PagePinnameP 72/CLK2/TA1OUT/ VP in No.28(FP)26 (GP)Function selectionSetting register2,3EFh6,3FDh4,397h2,397h3,378h2,348hRemarksTA1OUTO PulseoutputX X X 1 X 0 1 83TA1OUTI Up/downpolarity select input0 X 1 0 X 0 83CLK2I SerialI/O clock input0 0 X X 1 0 2 113CLK2O SerialI/O clock outputX 0 X X 0 0 2,3 113V O V phase outputX X X X X 1 101P72I Portinput (No pulled high)0 0 X 0 X 1 167P72I Portinput (Pulled high)0 1 X 0 X 0 167P72O Portoutput1 X X 0 X 0 167Remark 1: Can not be use when processing two-phase pulse signal.Remark 2: Set serial I/O enabled by serial I/O mode select bit of UART2 transmit/receive mode register.Remark 3: It become I/O port when UART mode selected.2,3EFhPortP72 direction register1726,3FDhP70to P73 pull-up control register1744,397hBit4 of timer A1 mode register852,397hBit2 of timer A1 mode register853,378hInternal/externalclock select bit of UART2 transmit/receive mode register1182,348hThreephase mode select bit101Page578

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

Saved successfully!

Ooh no, something went wrong!