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.

UARTMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERExample of wiringMicrocomputerTransmitter side ICRXDiRTSiTXDPortExample of operationBRGi's countsource(1) Reception enabled(2) Start reception(4) Data isread(3) Receiving iscompletedReceive enablebit (RE)“1”“0”RxDiStart bitD0 D1 D7Stop bitSampled “L”Receive data taken inTransfer clockReceivecomplete flag(RI)RTSiReceive interruptrequest bit(IR)“1”“0”“H”“L”“1”“0”Reception started when transferclock is generated by falling edgeof start bitTransferred from UARTi receive registerto UARTi receive buffer registerCleared to “0” when interrupt request is accepted, or cleared by softwareTiming of transfer data 8 bits long applies to the following settings :•Transfer data length is 8 bits.•Parity is disabled.•One stop bit•RTS function is selected.Figure 2.5.11. Operation timing of reception in UART mode363

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

Saved successfully!

Ooh no, something went wrong!