Joined: 12 May 2004 Posts: 54 Location: edinburgh, Scotland
Switchable clocks speeds on 18Fxx2
Posted: Thu Dec 02, 2004 5:22 am
I'm considering using the dual-clock speed function on the 18Fxx2 family in an upcoming project, but I can't seem to find out how to switch between clock sources in C. I'm sure it's a very small thing I'm missing, but if anyone has implemented this, please let me know!
Thanks in advance
-JBM
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Dec 03, 2004 1:10 pm
Quote:
I'm considering using the dual-clock speed function on the 18Fxx2 family in an upcoming project, but I can't seem to find out how to switch between clock sources in C.
Look in the manual (or the help file) at the setup_oscillator() function.
Look in the .H file for the constants used with that function.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum