ADIS16365 code

Hi everyone
It's my first time here, actually I use ADIS16365 to get gyro and acceleration data using dspic33 in my graduation project
But I don't know how to use spi protocol
If some one could give me a C code please
Thanks