Arducam_3MP_SPI_Camera Need of informations for building a simple program

Hello
I need to developp a basic program on Microchip Pic microcontroller (SPI) . I have just to take a jpg picture and transfer it into a Ram memory.
The document Arducam_MEGA_SPI_Camera_Application_Note.pdf give a description of the internal registers, , the spi timing but i need a little bit more details to build my program,

The arduino library is interesting, but to long to dissect and not adapted to my controller and my compiler ( ccsc ) .

Can i find somewhere some complementary informations ?

examples : - whitch registers have to be written for starting ?
- How i proced to wait end of picture taking ? ( busy flag ?)
- Data leng ?..
- algorithm, process
- …
thanks
Eric