Damien George 24119176e7 stmhal: Allow pyb.freq() function to change SYSCLK frequency.
Eg pyb.freq(120000000) sets the CPU to 120MHz.  The frequency can be set
at any point in the code, and can be changed as many times as you like.
Note that any active timers will need to be reconfigured after a freq
change.

Valid range is 24MHz to 168MHz (but not all freqs are supported).  The
code maintains a 48MHz clock for the USB at all times and it's possible
to change the frequency at a USB REPL and keep the REPL alive (well,
most of the time it stays, sometimes it resets the USB for some reason).
Note that USB does not work with pyb.freq of 24MHz.
2014-10-04 01:54:31 +01:00
..
2014-10-01 22:52:02 +01:00
2014-03-11 23:55:41 -07:00
2014-09-27 19:40:37 -07:00
2014-05-02 23:03:23 +01:00
2014-10-02 17:32:02 +01:00
2014-10-02 17:32:02 +01:00
2014-07-19 16:39:13 +01:00
2014-03-12 18:15:55 -07:00
2014-10-02 14:51:17 +01:00
2014-06-15 00:41:47 +01:00
2014-09-30 22:36:47 +01:00
2014-10-02 17:32:02 +01:00
2014-06-15 22:48:05 -07:00
2014-06-02 21:43:02 +02:00