17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

System Memory Controller (SMC)<br />

Register, and further writes to the I 2 C Control Register will not<br />

be allowed until after the I 2 C Status Register is read. A read<br />

from the I 2 C Status Register will clear this bit.<br />

i2_ackin This bit is set if the addressed slave device is acknowledged to<br />

either a start sequence or data writes from the I 2 C master<br />

controller and cleared otherwise. The I 2 C master controller will<br />

automatically clear this bit at the beginning of the next valid I 2 C<br />

operation.<br />

i2_cmplt This bit is set after the I 2 C master controller has successfully<br />

completed the requested I 2 C operation and cleared at the<br />

beginning of every valid I 2 C operation. This bit is also set after<br />

power-up.<br />

I 2 C Transmitter Data Register<br />

0<br />

Address<br />

Bit<br />

$FEF800A8<br />

Name I2_DATAWR<br />

Operation READ ZERO READ ZERO READ ZERO READ/WRITE<br />

Reset X X X 0 PL<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

17<br />

18<br />

19<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30<br />

31<br />

I2_DATAWR The I2_DATAWR contains the transmit byte for I 2 C data<br />

transfers. If a value is written to I2_DATAWR when the i2_start<br />

and i2_enbl bits in the I 2 C Control Register are set, a start<br />

sequence is generated immediately followed by the transmission<br />

of the contents of the I2_DATAWR to the responding slave<br />

device. The I2_DATAWR[24:30] is the device address, and the<br />

I2_DATAWR[31] is the WR/RD bit (0=WRite, 1=ReaD). After<br />

a start sequence with I2_DATAWR[31]=0, subsequent writes to<br />

the I 2 C Transmitter Data Register will cause the contents of<br />

I2_DATAWR to be transmitted to the responding slave device.<br />

After a start sequence with I2_DATAWR[31]=1, subsequent<br />

writes to the I 2 C Transmitter Data Register (data=don’t care)<br />

will cause the responding slave device to transmit data to the I 2 C<br />

Receiver Data Register. If a value is written to I2_DATAWR<br />

(data=don’t care) when the i2_stop and i2_enbl bits in the I 2 C<br />

Control Register are set, a stop sequence is generated.<br />

3-66 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!