Maxim-integrated MAXQ622 Manuel d'utilisateur Page 160

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 255
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 159
MAXQ612/MAXQ622 Users Guide
Maxim Integrated 11-5
The slave cannot write to the I2CBUF if a transfer is in progress (I2CBUSY = 1). Therefore, the CPU should first check
the status of the I
2
C busy bit before writing to the I
2
C buffer. Any attempt to write to the I2CBUF is ignored when
I2CBUSY = 1.
Figure 11-5. I
2
C Slave Transmitter and Slave Receiver
BEGIN
END
(A) SLAVE TRANSMITTER
DETECT START
I2CSRI = 1
I2CBUS = 1
DETECT STOP
I2CBUS = 0
TRANSMIT
DATA
ANY MORE?
Y
Y
Y
N
RECEIVE
SLAVE
ADDRESS
STOP?
N
N
I2CAMI = 1?
BEGIN
END
(B) SLAVE RECEIVER
DETECT START
I2CSRI = 1
I2CBUS = 1
DETECT STOP
I2CBUS = 0
RECEIVE
DATA
ANY MORE?
Y
Y
Y
N
RECEIVE
SLAVE
ADDRESS
STOP?
N
N
I2CAMI = 1?
Vue de la page 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 254 255

Commentaires sur ces manuels

Pas de commentaire