Bits 2,3 : Port Function Select Bits Ped, Pec - 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
In receive mode, ACK bit = 1 WIT bit = 0
ACKBIT
PIN flag
Internal WAIT flag
2
I
C bus interface
interrupt request signal
The writing signal of I
data shift register
In receive mode, ACK bit = 1 WIT bit = 1
ACKBIT
PIN flag
Internal WAIT flag
2
I
C bus interface
interrupt request signal
The writing signal of I
data shift register
The writing signal of I
clock control register
Figure 16.12 The timing of the interrupt generation at the completion of the data receive

16.6.3 Bits 2,3 : Port function select bits PED, PEC

When the ES0 bit of the I
respectively. However, if the PED is set to "1", the S
PEC is set to "1". In this case, if "0" or "1" is written to the port register, the data can be output onto the I
bus regardless of the internal S
setting the PED to "1" again.
If the ports are set in input mode, the values on the I
regardless of the values of the PED and PEC.Table 16.5 shows the port specification.
Table 16.5 Port specifications
Pin name
P2
0
P2
1
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
7 clock
8 clock
S
CL
7 bit
8 bit
S
DA
2
C0
7 clock
8 clock
S
CL
7 bit
8 bit
S
DA
2
C0
2
C0
2
C0 control register 0 is set to "1", P2
/S
output signals. The functions of S
CL
DA
ES0 bit
PED bit
0
-
1
0
1
1
ES0 bit
PEC bit
0
-
1
0
1
1
page 265 of 402
16. MULTI-MASTER I
ACK
clock
ACK bit
ACK
clock
1)
Note: Do not write to the
ACKBIT.
and P2
1
functions as the output port so as to the S
DA
2
C bus can be known by reading the port register
P2
port
0
direction register
0/1
Port I/O function
-
S
-
S
P2
port
1
direction register
0/1
Port I/O function
-
S
-
S
2
C bus INTERFACE
1 clock
1 bit
1 bit
2)
2
I
C0
clock control register except the bit
functions as S
and S
0
CL
/S
are returned back by
CL
DA
Function
I/O function
DA
input function, port output function
DA
Function
I/O function
CL
input function, port output function
CL
pins
DA
if the
CL
2
C

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents