diff options
author | 2023-10-16 01:33:34 +0100 | |
---|---|---|
committer | 2023-10-16 01:57:48 +0100 | |
commit | 0a701d68b51da9468a9a5e518667d4c037102e85 (patch) | |
tree | ea97c5f9726b46e5f9aef2721208645fa37d9750 /src/peripheral/fpb.rs | |
parent | c52330f333afe5358b5b6cccb4837eeb92af2759 (diff) | |
download | cortex-m-0a701d68b51da9468a9a5e518667d4c037102e85.tar.gz cortex-m-0a701d68b51da9468a9a5e518667d4c037102e85.tar.zst cortex-m-0a701d68b51da9468a9a5e518667d4c037102e85.zip |
Move cortex-m crate into cortex-m directory
Diffstat (limited to 'src/peripheral/fpb.rs')
-rw-r--r-- | src/peripheral/fpb.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/peripheral/fpb.rs b/src/peripheral/fpb.rs deleted file mode 100644 index b86b8b2..0000000 --- a/src/peripheral/fpb.rs +++ /dev/null @@ -1,21 +0,0 @@ -//! Flash Patch and Breakpoint unit -//! -//! *NOTE* Not available on Armv6-M. - -use volatile_register::{RO, RW, WO}; - -/// Register block -#[repr(C)] -pub struct RegisterBlock { - /// Control - pub ctrl: RW<u32>, - /// Remap - pub remap: RW<u32>, - /// Comparator - pub comp: [RW<u32>; 127], - reserved: [u32; 875], - /// Lock Access - pub lar: WO<u32>, - /// Lock Status - pub lsr: RO<u32>, -} |