From 84cb893d6865dfb5e286ab2395692b77b7cd29fd Mon Sep 17 00:00:00 2001 From: anttib-5 <anttib-5@student.ltu.se> Date: Fri, 8 Mar 2019 13:48:25 +0100 Subject: [PATCH] bare4_1 --- examples/bare4.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/bare4.rs b/examples/bare4.rs index 75fec4e..37dd6fc 100644 --- a/examples/bare4.rs +++ b/examples/bare4.rs @@ -84,7 +84,7 @@ fn main() -> ! { // // 1. Did you enjoy the blinking? // -// ** your answer here ** +// Yes, the blinking was nice! // // Now lookup the data-sheets, and read each section referred, // 6.3.11, 8.4.1, 8.4.7 @@ -92,6 +92,12 @@ fn main() -> ! { // Document each low level access *code* by the appropriate section in the // data sheet. // +// 6.3.11: RCC_APB1ENR +// +// 8.4.1: GPIOx_MODER where x can be A-E and H +// +// 8.4.7: GPIOx_BSRR where x can be A-E and H +// // Commit your answers (bare4_1) // // 2. Comment out line 40 and uncomment line 41 (essentially omitting the `unsafe`) -- GitLab