m30833fjgp Renesas Electronics Corporation., m30833fjgp Datasheet - Page 224

no-image

m30833fjgp

Manufacturer Part Number
m30833fjgp
Description
Renesas 16/32-bit Single-chip Microcomputer M16c Family / M32c/80 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m30833fjgp D5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
m30833fjgp#U3
Manufacturer:
NXP
Quantity:
1 003
Part Number:
m30833fjgp#U3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30833fjgp#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R
R
M
e
E
3
. v
J
Table 16.18 STSPSEL Bit Function
Figure 16.22 STSPSEL Bit Function
2
0
16.3.2 Start Condition or Stop Condition Output
1
9
C
Start condition and stop condition
output
Timing to generate a start condition
and stop condition interrupt request
3 .
B
8 /
The start condition is generated when the STAREQ bit in the UiSMR4 register (i=0 to 4) is set to "1"
(start). The restart condition is generated when the RSTAREQ bit in the UiSMR4 register is set to "1"
(start). The stop condition is generated when the STPREQ bit in the UiSMR4 is set to "1" (start).
The start condition is output when the STAREQ bit is set to "1" and the STSPSEL bit in the UiSMR4
register is set to "1" (start or stop condition generation circuit selected). The restart condition is output
when the RSTAREQ bit and STSPSEL bit are set to "1". The stop condition is output when the STPREQ
bit and the STSPSEL bit are set to "1".
When the start condition, stop condition or restart condition is output, do not generate an interrupt be-
tween the instruction to set the STAREQ bit, STPREQ bit or RSTAREQ bit to "1" and the instruction to set
the STSPSEL bit to "1". When the start condition is output, set the STAREQ bit to "1" before the
STSPSEL bit is set to "1".
Table 16.18 lists function of the STSPSEL bit. Figure 16.22 shows functions of the STSPSEL bit.
0
1
3
0
3
J
G
4
a
0 -
n
o r
3 .
1
u
, 1
3
p
1
Setting value of
the STSPEL bit
2
(
Function
M
0
0
(1) In slave mode,
(1) In master mode,
3
6
SCLi
SCLi
SDAi
i=0 to 4
SDAi
2
C
CKDIR is set to "1" (external clock)
STSPSEL is set to "0" (no start condition and stop condition output)
CKDIR is set to "0" (internal clock)
STSPSEL is set to "1" (start condition and stop condition output)
Page 201
8 /
, 3
M
STAREQ=1
(start)
3
2
C
0
f o
8 /
Start condition detect
interrupt
4
3
8
) T
8
Start condition detect
interrupt
1
Program with a port determines
how the start condition or stop
condition is output
The start condition and stop
condition are detected
STSPSEL = 0
0
STPREQ=1
(start)
Stop condition detect
interrupt
The STAREQ bit, RSTAREQ bit and
STPREQ bit determine how the start
condition or stop condition is output
Start condition and stop condition
generation are completed
Stop condition detect
interrupt
16. Serial I/O (Special Function)
1
STSPSEL = 1
0

Related parts for m30833fjgp