aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/fpu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/peripheral/fpu.rs')
-rw-r--r--src/peripheral/fpu.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/peripheral/fpu.rs b/src/peripheral/fpu.rs
deleted file mode 100644
index 9a047d8..0000000
--- a/src/peripheral/fpu.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-//! Floating Point Unit
-//!
-//! *NOTE* Available only on targets with a Floating Point Unit (FPU) extension.
-
-use volatile_register::{RO, RW};
-
-/// Register block
-#[repr(C)]
-pub struct RegisterBlock {
- reserved: u32,
- /// Floating Point Context Control
- pub fpccr: RW<u32>,
- /// Floating Point Context Address
- pub fpcar: RW<u32>,
- /// Floating Point Default Status Control
- pub fpdscr: RW<u32>,
- /// Media and FP Feature
- pub mvfr: [RO<u32>; 3],
-}