r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 459

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
Table 20.12
Output of pins SCL2 and
SDA2
Start/stop condition
interrupt request
generation timing
20.3.3.2
A start condition is generated by setting the STAREQ bit in the U2SMR4 register to 1 (start).
A restart condition is generated by setting the RSTAREQ bit in the U2SMR4 register to 1 (start).
A stop condition is generated by setting the STPREQ bit in the U2SMR4 register to 1 (start).
The output procedure is as follows:
[For STSPSEL = 0]
• Set the STSPSEL bit in the U2SMR4 register to 0, bits SMD2 to SMD0 in the U2MR register to 000b, and the
• Enable SDA2 pin output using the value of the port control register.
[For STSPSEL = 1]
• Set the STAREQ bit, the RSTAREQ bit, or the STPREQ bit to 1.
• Set the STSPSEL bit in the U2SMR4 register to 1.
• After the start/stop condition generation interrupt, set the STSPSEL bit in the U2SMR4 register to 0.
• Clear the start/stop condition generation interrupt.
Table 20.12 lists the STSPSEL Bit Functions and Figure 20.16 shows the STSPSEL Bit Functions.
IICM bit in the U2SMR register to 1.
Function
Preliminary document
Specifications in this document are tentative and subject to change.
Output of Start and Stop Conditions
STSPSEL Bit Functions
Output of transfer clock and data.
Output of start/stop conditions is not
automatically generated by hardware
(implemented by a program).
Detection of start/stop conditions
STSPSEL = 0
Output of start/stop conditions according
to bits STAREQ, RSTAREQ, and
STPREQ
Completion of start/stop condition
generation
20. Serial Interface (UART2)
STSPSEL = 1
Page 428 of 725

Related parts for r5f21368sdfp