aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/mpu.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <japaricious@gmail.com> 2017-03-11 23:21:59 -0500
committerGravatar GitHub <noreply@github.com> 2017-03-11 23:21:59 -0500
commit2885f691896dc18722b5e1344770dbcd5a7de235 (patch)
tree1ec4ef00b3634e23e4b7d62b7fc38f2cd8820d23 /src/peripheral/mpu.rs
parent3f4c581a9cd52c4ad14da2d7008d004a2d888f36 (diff)
parent173b5bc9750909408cfcd6140ddbf8a119dc7a18 (diff)
downloadcortex-m-2885f691896dc18722b5e1344770dbcd5a7de235.tar.gz
cortex-m-2885f691896dc18722b5e1344770dbcd5a7de235.tar.zst
cortex-m-2885f691896dc18722b5e1344770dbcd5a7de235.zip
Merge pull request #17 from japaric/ng
v0.2.0
Diffstat (limited to 'src/peripheral/mpu.rs')
-rw-r--r--src/peripheral/mpu.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/peripheral/mpu.rs b/src/peripheral/mpu.rs
deleted file mode 100644
index e024e62..0000000
--- a/src/peripheral/mpu.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-//! Memory Protection Unit
-
-use volatile_register::{RO, RW};
-
-/// Registers
-#[repr(C)]
-pub struct Registers {
- /// Type
- pub _type: RO<u32>,
- /// Control
- pub ctrl: RW<u32>,
- /// Region Number
- pub rnr: RW<u32>,
- /// Region Base Address
- pub rbar: RW<u32>,
- /// Region Attribute and Size
- pub rasr: RW<u32>,
- /// Alias 1 of RBAR
- pub rbar_a1: RW<u32>,
- /// Alias 1 of RSAR
- pub rsar_a1: RW<u32>,
- /// Alias 2 of RBAR
- pub rbar_a2: RW<u32>,
- /// Alias 2 of RSAR
- pub rsar_a2: RW<u32>,
- /// Alias 3 of RBAR
- pub rbar_a3: RW<u32>,
- /// Alias 3 of RSAR
- pub rsar_a3: RW<u32>,
-}