Hi Tim,
You can find an application note “EE-346” and its associated example codes for interfacing temperature sensor using TWI. I hope this will help you.You can find the application note and its associated files in the following link.
http://www.analog.com/en/processors-dsp/sharc/products/application-notes/resources/index.html
Also, you can find some example codes in the following threads.
Regards,
Jithul