Hi Mark,
I am afraid NXP does not provide any MMA8451Q code examples or library for TI's MSP430 MCU family.
We do have several examples mainly for NXP's Kinetis, LPC or i.MX families. Either as part of the ISSDK or simple bare-metal code examples.
If I remember well, the code published in MMA8451Q application notes was written for the 8-bit MC9S08QE8 MCU and the function IIC_Write() simply writes a byte to the MMA8451Q register.
The MMA8451Q uses a well known combined format that looks as follows.
Writing to the MMA8451Q with SA0 = 0:
1. Send a start sequence
2. Send 0x38 // MMA8451Q slave address with the R/W bit low or 0x1C<<1
3. Send the internal register number you want to write to
4. Send the data byte
5. [Optionally, send any further data bytes]
6. Send the stop sequence.

Reading from the MMA8451Q with SA0 = 0:
1. Send a start sequence
2. Send 0x38 // slave address with the R/W bit low or 0x1C<<1
3. Send internal address of the register you want to read from
4. Send a start sequence again (repeated start)
5. Send 0x39 // slave address with the R/W bit high or (0x1C<<1)|0x01
6. Read data byte from the addressed register
7. [Optionally, read any further data bytes]
8. Send NAK and the stop sequence.

Best regards,
Tomas