English
Language : 

M32C80 Datasheet, PDF (216/352 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/80 Group
16. Serial I/O (Special Function)
Table 16.18 STSPSEL Bit Function
Function
STSPSEL = 0
Start condition and stop
condition output
Program with ports determines how the
start condition or stop condition output
is provided
Timing to generate start
condition and stop condition
interrupt requests
The start condition and stop condition
are detected
STSPSEL = 1
The STAREQ bit, RSTAREQ bit and
STPREQ bit determine how the start
condition or stop condition output is
provided
Start condition and stop condition
generation are completed
(1) In slave mode,
The CKDIR bit is set to "1" (external clock)
The STSPSEL bit is set to "0" (no start condition and stop condition output)
SCLi
SDAi
Start condition detect
interrupt
Stop condition detect
interrupt
(2) In master mode,
The CKDIR bit is set to "0" (internal clock)
The STSPSEL bit is set to "1" (start condition and stop condition output)
Setting value of 0
1
0
the STSPEL bit
SCLi
1
0
SDAi
The STPREQ
bit is set to "1"
(start)
i=0 to 4
Start condition detect
interrupt
The STPREQ
bit is set to "1"
(start)
Stop condition detect
interrupt
Figure 16.22 STSPSEL Bit Function
Rev. 1.00 Nov. 01, 2005 Page 197 of 330
REJ09B0271-0100