tmp89cm42 TOSHIBA Semiconductor CORPORATION, tmp89cm42 Datasheet - Page 238

no-image

tmp89cm42

Manufacturer Part Number
tmp89cm42
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
16.6
Transfer Data Format
RA001
Figure 16-3 Example of Infrared Data Format (Comparison between Normal Output and IrDA
16.6
16.7
collectively defined as a "transfer frame". The start bit consists of 1 bit (L level) and the data consists of 8 bits. Parity
bits are determined by UART0CR1<PE> that selects the presence or absence of parity and UART0CR1<EVEN> that
selects even- or odd-numbered parity. The bit length of the stop bit can be selected at UART0CR1<STBT>.
Setting UART0CR1<IRDASEL> to "1" allows the TXD0 pin to output data in the infrared data format.
The UART transfers data composed of the following four elements. The data from the start bit to the stop bit is
Figure 16-2 shows the transfer data format.
The TXD0 pin can output data in the infrared data format (IrDA) by the setting of the IrDA output control register.
Transfer Data Format
Infrared Data Format Transfer Mode
・ Start bit (1 bit)
・ Data (8 bits)
・ Parity bit (selectable from even-numbered, odd-numbered or no parity)
・ Stop bit (selectable from 1 bit or 2 bits)
PE
0
0
1
1
STBT
0
1
0
1
UART output
IrDA output
Start
Start
Start
Start
1
Bit 0
Bit 0
Bit 0
Bit 0
Figure 16-2 Transfer Data Format
2
Bit 1
Bit 1
Bit 1
Bit 1
3
Start bit
Bit width
3/16
Bit 2
Bit 2
Bit 2
Bit 2
4
D0
Output)
Page 224
Bit 3
Bit 3
Bit 3
Bit 3
5
Transfer frame
D1
Bit 4
Bit 4
Bit 4
Bit 4
6
D2
Bit 5
Bit 5
Bit 5
Bit 5
7
Bit 6
Bit 6
Bit 6
Bit 6
8
D7
Bit 7
Bit 7
Bit 7 Parity
Bit 7
9
Stop bit
Stop 1
Stop 1 Stop 2
Parity
10
Stop 1
Stop 1 Stop 2
11
TMP89CM42
12

Related parts for tmp89cm42