r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 423

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
19.5
Regardless of clock synchronous I/O mode or clock asynchronous I/O mode, read the U0RB register in 16-bit
units.
When the higher byte (b15 to b8) in the U0RB register is read, bits FER and PER in the U0RB register are set to 0
(no framing error, no parity error). Also, the RI bit in the U0C1 register is set to 1 (no data in the U0RB register).
To check receive errors, use the data read from the U0RB register.
• Program example for reading the receive buffer register
When the transfer data is 9 bits long in clock asynchronous I/O mode, write to the higher byte (b15 to b8) first and
then the lower byte (b7 to b0) in 8-bit units.
• Program example for writing to the transmit buffer register
• Do not set the MSTUART bit in the MSTCR register to 1 (standby) during communication. When setting the
• When UART0 is not used, set the NCH bit in the U0C0 register to 0 (TXD pin is set to CMOS output).
module to the standby state, confirm whether communication has completed. After communication has
completed, set bits TE and RE in the U0C1 register to 0 (communication disabled) before setting the module to
the standby state. After the module standby state is cleared, the initial settings for communication must be set up
again.
Notes on Serial Interface (UART0)
MOV.W
MOV.B
MOV.B
Preliminary document
Specifications in this document are tentative and subject to change.
0086H, R0
#XXH, 0083H
#XXH, 0082H
; Read the U0RB register
; Write to the higher byte (b15 to b8) in the U0TB register
; Write to the lower byte (b7 to b0) in the U0TB register
19. Serial Interface (UART0)
Page 392 of 725

Related parts for r5f21368sdfp