I'm trying to write my own UC3 application on an EVK1104, using the EVK1104 User Project template as a base. I've noticed that different ASF examples use different methods to setup the clocks. For example, some use the "pm_configure_clocks" function, yet others use "sysclk_init" to set up the clocks.
In my own project I tried using sysclk_init, but it tells me that I have an "implicit declaration of function 'sysclk_init'" even though it's showing up as red lettering (indicating it's a function). If I include sysclk.h in my main function the error goes away...but shouldn't ASF be handling that automatically in asf.h? Or am I completely missing something?
While I'm on the topic, is there a better way to initialize UC3 clocks?