Renesas PROM Programming Adapter PCA7408 Manual do Utilizador Página 32

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 112
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 31
M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP
Rev.1.00 Oct 01, 2002 page 32 of 110
REJ03B0134-0100Z
8.6.1 I
2
C Data Shift Register
The I
2
C data shift register (S0 : address 00D716) is an 8-bit shift
register to store receive data and write transmit data.
When transmit data is written into this register, it is transferred to the
outside from bit 7 in synchronization with the SCL clock, and each
time one-bit data is output, the data of this register are shifted one bit
to the left. When data is received, it is input to this register from bit 0
in synchronization with the SCL clock, and each time one-bit data is
input, the data of this register are shifted one bit to the left.
The I
2
C data shift register is in a write enable status only when the
ESO bit of the I
2
C control register (address 00DA16) is “1.” The bit
counter is reset by a write instruction to the I
2
C data shift register.
When both the ESO bit and the MST bit of the I
2
C status register
(address 00D916) are “1,” the SCL is output by a write instruction to
the I
2
C data shift register. Reading data from the I
2
C data shift regis-
ter is always enabled regardless of the ESO bit value.
Note: To write data into the I
2
C data shift register after setting the MST bit to
“0” (slave mode), keep an interval of 8 machine cycles or more.
Fig. 8.6.2 Data Shift Register
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
I
2
C data shift register (S0) [Address 00D7
16
]
B
F
u
n
c
t
i
o
n
s
A
f
t
e
r
r
e
s
e
t
R
W
I
C
D
ata
Shif
t
R
eg
i
ster
0
to
7
Thi
s
i
s an 8-
bi
t s
hif
t reg
i
ster to store
receive data and write transmit data.
I
n
d
eterm
i
nate
2
N
ote:
2
T
o
w
r
i
t
e
d
a
t
a
i
n
t
o
t
h
e
I
C
d
a
t
a
s
h
i
f
t
r
e
g
i
s
t
e
r
a
f
t
e
r
s
e
t
t
i
n
g
t
h
e
M
S
T
b
i
t
t
o
0
(
s
l
a
v
e
m
o
d
e
)
,
k
e
e
p
a
n
i
n
t
e
r
v
a
l
o
f
8
m
a
c
h
i
n
e
c
y
c
l
e
s
o
r
m
o
r
e
.
N
ame
D
0 to
D
7
R
W
Vista de página 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 111 112

Comentários a estes Manuais

Sem comentários