Skip to content
Snippets Groups Projects
Commit 3bc223d1 authored by Ridge's avatar Ridge
Browse files

bare4_1

parent 635bb65f
No related branches found
No related tags found
No related merge requests found
...@@ -36,8 +36,8 @@ use address::*; ...@@ -36,8 +36,8 @@ use address::*;
#[inline(always)] #[inline(always)]
fn read_u32(addr: u32) -> u32 { fn read_u32(addr: u32) -> u32 {
unsafe { core::ptr::read_volatile(addr as *const _) } // unsafe { core::ptr::read_volatile(addr as *const _) }
//core::ptr::read_volatile(addr as *const _) core::ptr::read_volatile(addr as *const _)
} }
#[inline(always)] #[inline(always)]
...@@ -84,7 +84,7 @@ fn main() -> ! { ...@@ -84,7 +84,7 @@ fn main() -> ! {
// //
// 1. Did you enjoy the blinking? // 1. Did you enjoy the blinking?
// //
// ** your answer here ** // Absolutely
// //
// Now lookup the data-sheets, and read each section referred, // Now lookup the data-sheets, and read each section referred,
// 6.3.11, 8.4.1, 8.4.7 // 6.3.11, 8.4.1, 8.4.7
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment