AD7799 Sample Sketch

Could anyone please provide a sample sketch to communicate and read from the AD7799 IC from Analog Devices. It uses SPI and I am having trouble understanding the data sheet.

Datasheet:- http://www.analog.com/static/imported-files/data_sheets/AD7798_7799.pdf