Component: moteiv.tos.platform.msp430.MSP430I2CM

module MSP430I2CM

Primitives for accessing the hardware I2C module on MSP430 microcontrollers. This module assumes that the bus is available and reserved prior to the commands in this module being invoked. Most applications will use the readPacket and writePacket interfaces as they provide the master-mode read and write operations from/to a slave device. An I2C slave implementation may be built above the primitives provided in this module.

Author:
Joe Polastre, Moteiv Corporation <info@moteiv.com>

Provides
interface MSP430I2C
interface MSP430I2CEvents
interface MSP430I2CPacket
interface StdControl

Uses
interface HPLI2CInterrupt
interface TaskBasic as readDone
interface HPLUSARTControl as USARTControl
interface TaskBasic as writeDone