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.