I want to make use of the clock of rpi. How can I do it? On an arduino it would have been as easy as setting up an TCCR and the respective pin would give the required clock signal. I require two clock signals for my circuit,44.1 KHz and 16 MHz. If it is at all possible, how can it be done? 

Thank you.