Bit0: Time Out Detection Function Enable Bit (Toe); Bit1: Time Out Detection Flag (Tof ); Bit2: Time Out Detection Period Select Bit (Tosel); Bits 3,4,5: I 2 C System Clock Select Bits (Ick2-4) - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

16.7.1 Bit0: Time out detection function enable bit (TOE)

The bit enables a time out detection function. When setting this bit to "1", the I
request signal is generated if the S
(BB flag =1).
The time out detection period is measured by the internal counter and selected from long time mode or
short time mode by the time out detection period select bit (TOSEL). When time out is detected, set the
ES0 bit to "0" and then process initialization.

16.7.2 Bit1: Time out detection flag (TOF )

The bit is the flag showing the time out detection status. If the internal counter which measures the time out
period overflows, the time out detection flag (TOF) becomes to "1", and at the same time the I
interface interrupt request signal is generated.

16.7.3 Bit2: time out detection period select bit (TOSEL)

The bit selects time out detection period from long time and short time mode. If the TOSEL = 0, the long
time mode and TOSEL = 1, the short time mode is selected respectively. The long time is counted by 16-
bit counters and the short time is counted by 14-bit counters based on the I
16.7 shows examples of the time out detection period.
Table 16.7 Examples of time out detection period
V
(MHz)
IIC
4
2
1
16.7.4 Bits 3,4,5: I
ICK4 to 2 bits, ICK1 and ICK0 bits of the S3D0 register select the system clock (V
interface circuit.Table 16.6 shows the I

16.7.5 Bit7: STOP condition detection interrupt request bit (SCPIN)

The bit monitors the stop condition detection interrupt. The bit becomes to "1" when the I
interrupt is generated by detecting of the STOP condition. Writing "0" clears the bit and "1" can not be
written.
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
clock is stopped in "H" state for a period of time during the bus busy
CL
Long time mode
16.4
32.8
65.6
2
C system clock select bits (ICK2-4)
2
C system clock setting for the setting values.
page 268 of 402
16. MULTI-MASTER I
2
C bus interface interrupt
2
C system clock (V
(Unit: ms)
Short time mode
4.1
8.2
16.4
2
C bus INTERFACE
2
C bus
). Table
IIC
2
) of the I
C bus
IIC
2
C bus interface

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents