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.

Clock-Synchronous Serial I/OMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERSetting UART1 transmit/receive mode registerb70 0 0b00 1UART1 transmit/receive mode register [Address 03A816]U1MRMust be fixed to “001”Internal/external clock select bit0 : Internal clockInvalid in clock synchronous I/O modeInvalid in clock synchronous I/O modeInvalid in clock synchronous I/O modeSleep select bitMust be “0” in clock synchronous I/O modeSetting UART1 transmit/receive control register 0b70 01b0UART1 transmit/receive control register 0 [Address 03AC16]U1C0BRG count source select bitb1 b00 0 : f1 is selected0 1 : f8 is selected1 0 : f32 is selected1 1 : InhibitedValid when bit 4 = “0”Transmit register empty flag0 : Data present in transmit register (during transmission)1 : No data present in transmit register (transmission completed)CTS/RTS disable bit1 : CTS/RTS function disabledData output select bit0 : TXDi pin is CMOS output1 : TxDi pin is N-channel open-drain outputCLK polarity select bit0 : Transmission data is output at falling edge of transfer clock andreception data is input at rising edgeTransfer format select bit0 : LSB firstSetting UART transmit/receive control register 2b71 1b0UART transmit/receive control register 2 [Address 03B016]UCONUART0 transmit interrupt cause select bit1 : Transmission completed (TXEPT = 1)CLK/CLKS select bit 00 : Clock output to CLK11 : Clock output to CLKS1CLK/CLKS select bit 11 : Transfer clock output from multiple pins function selectedInvalid when bit 5 = “1”Continued to the next pageFigure 2.4.11. Set-up procedure of transmission in clock-synchronous serial I/O mode, transferclock output from multiple pins function selected (1)340

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

Saved successfully!

Ooh no, something went wrong!