Motorola MVME2400 Series Wartungshandbuch Seite 251

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 250
Programming Model
http://www.mcg.mot.com/literature 3-65
3
i2_err This bit is set when both i2_start and i2_stop bits in the I2C
Control Register are set at the same time. The I2C master
controller will then clear the contents of the I2C Control
Register, and further writes to the I2C Control Register will not
be allowed until after the I2C Status Register is read. A read
from the I2C Status Register will clear this bit.
i2_ackin This bit is set if the addressed slave device is acknowledged to
either a start sequence or data writes from the I2C master
controller and cleared otherwise. The I2C master controller will
automatically clear this bit at the beginning of the next valid I2C
operation.
i2_cmplt This bit is set after the I2C master controller has successfully
completed the requested I2C operation and cleared at the
beginning of every valid I2C operation. This bit is also set after
power-up.
I2C Transmitter Data Register
I2_DATAWR
The I2_DATAWR contains the transmit byte for I2C data
transfers. If a value is written to I2_DATAWR
when the
i2_start
and i2_enbl bits in the I2C Control Register are set, a
start sequence is generated immediately followed by the
transmission of the contents of the I2_DATAWR
to the
responding slave device. The I2_DATAWR[24:30]
is the
device address, and the I2_DATAWR[31]
is the WR/RD bit
(0=WRite, 1=ReaD). After a start sequence with
I2_DATAWR[31]
=0, subsequent writes to the I2C Transmitter
Data Register will cause the contents of I2_DATAWR
to be
transmitted to the responding slave device. After a start
sequence with I2_DATAWR[31]
=1, subsequent writes to the
I2C Transmitter Data Register (data=don’t care) will cause the
ADDRESS
$FEF800A8
BIT
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
NAME
I2_DATAWR
OPERATION
READ ZERO READ ZERO READ ZERO READ/WRITE
RESET
XXX0 PL
Seitenansicht 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare