Epson S1C17624 Technical Manual page 208

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

2
20
I
C Master (I2CM)
20.1
i2CM Module Overview
The S1C17624/604/622/602/621 includes an I
The I2CM module operates as an I
The following shows the main features of I2CM:
• Operates as an I
C bus master device (as single master only).
2
• Supports standard (100 kbps) and fast (400 kbps) modes.
• Supports 8-bit data length only (MSB first).
• 7-bit addressing mode (10-bit addressing is possible by software control.)
• Includes one-byte receive data buffer and one-byte transmit data buffer.
• Can generate start, repeated start, and stop conditions.
• Supports half-duplex communications.
• Supports clock stretch function.
• Includes a noise filter function to help improve the reliability of data transfers.
• Can generate transmit buffer empty and receive buffer full interrupts.
Figure 20.1.1 shows the I2CM configuration.
Internal bus
ITC
I
2
C master clock
(from T16 Ch.2)
20.2
i2CM input/Output Pins
Table 20.2.1 lists the I2CM pins.
Pin name
I/O
SDA0
I/O
SCL0
I/O
The I2CM input/output pins (SDA0, SCL0) are shared with I/O ports and are initially set as general purpose I/O
port pins. The pin functions must be switched using the port function select bits to use the general purpose I/O port
pins as I2CM input/output pins.
For detailed information on pin function switching, see the "I/O Ports (P)" chapter.
S1C17624/604/622/602/621 TeChniCal Manual
2
C master (I2CM) module that supports two-wire communications.
C bus master device and can communicate with I
2
Bus I/F
and
control
registers
Clock/transfer control
Interrupt
control
Figure 20.
1.1 I2CM Module Configuration
Table 20.
2.1 List of I2CM Pins
Qty
1
I2CM data input/output pin (see Note below)
Inputs serial data from the I
1
I2CM clock input/output pin (see Note below)
Inputs SCL line status. Also outputs a serial clock.
Seiko epson Corporation
Shift register
Noise
filter
Shift register
Function
2
C bus. Also outputs serial data to the I
2
20 i
C MaSTeR (i2CM)
C-compliant slave devices.
2
SDA0
SCL0
I
2
C master
2
C bus.
20-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents