![Toshiba TMPM3V4 Manual Download Page 254](http://html.mh-extra.com/html/toshiba/tmpm3v4/tmpm3v4_manual_428626254.webp)
12.5.2 Parity Control
The parity bit can be added with a transmitted data only in the 7- or 8-bit UART mode. And the received par-
ity bit can be compared with a generated one.
Setting "1" to SCxCR<PE> enables the parity. SCxCR<EVEN> selects either even or odd parity.
12.5.2.1 Transmission
Upon data transmission, the parity control circuit automatically generates the parity with the data in the
transmit buffer. The parity bit will be stored in SCxBUF<TB
[
7
]
> in the 7-bit UART mode and
SCxMOD
0
<TB8> in the 8-bit UART mode.
The <PE> and <EVEN> settings must be completed before data is written to the transmit buffer.
12.5.2.2 Reception
If the received data is moved from the receive shift register to the receive buffer, a parity is generated.
In the 7-bit UART mode, the generated parity is compared with the parity stored in SCxBUF<RB
[
7
]
>,
in the 8-bit UART mode, it is compared with the one in SCxCR<RB8>.
If there is any difference, a parity error occurs and the SCxCR<PERR> is set to "1".
In use of the FIFO, <PERR> indicates that a parity error was generated in one of the received data.
12.5.3 STOP Bit Length
The length of the STOP bit in the UART transmission mode can be selected from one bit or two bits by set-
ting the SCxMOD2<SBLEN>. The length of the STOP bit data is determined as one-bit when it is received re-
gardless of the setting of this bit.
TMPM3V6/M3V4
12. Serial Channel with 4bytes FIFO (SIO/UART)
12.5 Data Format
Page 232
2019-02-06
Summary of Contents for TMPM3V4
Page 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Page 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Page 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Page 8: ......
Page 22: ...xiv ...
Page 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Page 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Page 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Page 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Page 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Page 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Page 544: ......