23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

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.

9.5.4 Mode 3 (9-bit UART)<br />

Under development<br />

<strong>TMPM330</strong> (rev 0.4) 9-49<br />

<strong>TMPM330</strong><br />

The 9-bit UART mode can be selected by setting SC0MOD0 to “11.” In this mode,<br />

parity bits must be disabled (SC0CR = “0”).<br />

The most significant bit (9th bit) is written to bit 7 of the serial mode control register 0<br />

(SC0MOD0) for transmitting data. The data is stored in bit 7 of the serial control<br />

register SC0CR. When writing or reading data to/from the buffers, the most significant bit<br />

must be written or read first before writing or reading to/from SC0BUF. The stop bit length<br />

can be specified using SC0MOD2 .<br />

Wakeup function<br />

In the 9-bit UART mode, slave controllers can be operated in the wake-up mode by setting<br />

the wake-up function control bit SC0MOD0 to “1.” In this case, the interrupt INTRX0<br />

will be generated only when SC0CR is set to “1”.<br />

TXD<br />

RXD TXD RXD TXD RXD TXD<br />

RXD<br />

Master Slave 1 Slave 2 Slave 3<br />

(Note) The TXD pin of the slave controller must be set to the open drain output mode<br />

using the ODE register.<br />

Fig. 9-16 Serial Links to Use Wake-up Function<br />

Serial Channel (SIO)

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

Saved successfully!

Ooh no, something went wrong!