]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
USCI I2C support.
authorR. Steve McKown <rsmckown@gmail.com>
Wed, 27 Oct 2010 23:54:17 +0000 (17:54 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Fri, 29 Oct 2010 20:19:45 +0000 (14:19 -0600)
commita4c683fb39c46c4a0382866e7ca1ab65a524fcf4
tree634740b61cfad7b164710d686ab734e08691ce8f
parenta04046a3331f1baba1e6a568613fec5db58bbe7b
USCI I2C support.

Current limitations and features:

* Master mode only.
* No multi-master bus configurations.
* Will automatically reset a hung bus, if for example the master reset in the
  middle of a transaction and a slave currently is driving SDA low.
* Repeated starts are supported and can be very time efficient.
* An I2C transactions may be processed with multiple I2CPacket.read() or
  I2CPacket.write() commands, as appropriate.  The first must include I2C_START
  and the last must include I2C_STOP.
* Conditions exist during read where the hardware may clock out an extra byte
  from the slave before stop.  This byte is not passed to the user.
tos/chips/msp430/usci/HplMsp430UsciInt0P.nc
tos/chips/msp430/usci/HplMsp430UsciInt1P.nc
tos/chips/msp430/usci/HplMsp430UsciReg.nc
tos/chips/msp430/usci/HplMsp430UsciRegP.nc
tos/chips/msp430/usci/Msp430I2CB0C.nc [new file with mode: 0644]
tos/chips/msp430/usci/Msp430I2CB1C.nc [new file with mode: 0644]
tos/chips/msp430/usci/Msp430I2CP.nc [new file with mode: 0644]
tos/chips/msp430/usci/Msp430Usci.h