Skip to content
Snippets Groups Projects
Commit 530a7ba9 authored by Henrik Theolin's avatar Henrik Theolin
Browse files

bare6_4

parent 3d341f24
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,8 @@ fn idle(stim: &mut Stim, rcc: RCC, gpioa: GPIOA) { ...@@ -50,8 +50,8 @@ fn idle(stim: &mut Stim, rcc: RCC, gpioa: GPIOA) {
// at 16 Mhz, 8_000_000 cycles = period 0.5s // at 16 Mhz, 8_000_000 cycles = period 0.5s
// at 64 Mhz, 4*8_000_000 cycles = period 0.5s // at 64 Mhz, 4*8_000_000 cycles = period 0.5s
let cycles = 8_000_000; //let cycles = 8_000_000;
//let cycles = 4 * 8_000_000; let cycles = 4 * 8_000_000;
loop { loop {
iprintln!(stim, "on {}", DWT::get_cycle_count()); iprintln!(stim, "on {}", DWT::get_cycle_count());
...@@ -165,7 +165,7 @@ fn clock_out(rcc: &RCC, gpioc: &GPIOC) { ...@@ -165,7 +165,7 @@ fn clock_out(rcc: &RCC, gpioc: &GPIOC) {
//` //`
// What is the frequency of blinking? // What is the frequency of blinking?
// //
// ** your answer here ** // ** 1Hz **
// //
// Commit your answers (bare6_3) // Commit your answers (bare6_3)
// //
......
pictures/bare_6_64mhz_high_speed.jpg

243 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment