20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

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.

UART2 Special Mode Register 2Mitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERBit 0 of the UART2 special mode register 2 (address 037616) is used as the I 2 C mode selection bit 2.Table 1.19.10 shows the types of control to be changed by I 2 C mode selection bit 2 when the I 2 C modeselection bit is set to “1”. Table 1.19.11 shows the timing characteristics of detecting the start conditionand the stop condition. Set the start/stop condition control bit (bit 7 of UART2 special mode register 2) to“1” in I 2 C mode.Table 1.19.10. Functions changed by I 2 C mode selection bit 2Function IICM2 = 0IICM2 = 112345Factor of interrupt number 15 No acknowledgment detection (NACK) UART2 transmission (the rising edgeof the final bit of the clock)Factor of interrupt number 16 Acknowledgment detection (ACK) UART2 reception (the falling edgeof the final bit of the clock)DMA1 factor at the time when 1 1 0 1is assigned to the DMA requestfactor selection bitsTiming for transferring data from theUART2 reception shift register to thereception buffer.Timing for generating a UART2reception/ACK interrupt requestAcknowledgment detection (ACK)The rising edge of the final bit of thereception clockThe rising edge of the final bit of thereception clockUART2 reception (the falling edge ofthe final bit of the clock)The falling edge of the final bit of thereception clockThe falling edge of the final bit of thereception clockTable 1.19.11. Timing characteristics of detecting the start condition and the stop condition (Note1)3 to 6 cycles < duration for setting-up (Note2)3 to 6 cycles < duration for holding (Note2)Note 1 : When the start/stop condition count bit is "1" .Note 2 : "cycles" is in terms of the input oscillation frequency f(XIN) of the main clock.SCLSDA(Start condition)SDA(Stop condition)Duration forsetting upDuration forholding145

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

Saved successfully!

Ooh no, something went wrong!