aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/peripheral/mod.rs')
-rw-r--r--src/peripheral/mod.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs
index 5c5e7ce..081aa0a 100644
--- a/src/peripheral/mod.rs
+++ b/src/peripheral/mod.rs
@@ -253,6 +253,7 @@ impl AC {
}
/// Cache and branch predictor maintenance operations
+#[allow(clippy::upper_case_acronyms)]
pub struct CBP {
_marker: PhantomData<*const ()>,
}
@@ -289,6 +290,7 @@ impl ops::Deref for CBP {
}
/// CPUID
+#[allow(clippy::upper_case_acronyms)]
pub struct CPUID {
_marker: PhantomData<*const ()>,
}
@@ -316,6 +318,7 @@ impl ops::Deref for CPUID {
}
/// Debug Control Block
+#[allow(clippy::upper_case_acronyms)]
pub struct DCB {
_marker: PhantomData<*const ()>,
}
@@ -343,6 +346,7 @@ impl ops::Deref for DCB {
}
/// Data Watchpoint and Trace unit
+#[allow(clippy::upper_case_acronyms)]
pub struct DWT {
_marker: PhantomData<*const ()>,
}
@@ -370,6 +374,7 @@ impl ops::Deref for DWT {
}
/// Flash Patch and Breakpoint unit
+#[allow(clippy::upper_case_acronyms)]
pub struct FPB {
_marker: PhantomData<*const ()>,
}
@@ -399,6 +404,7 @@ impl ops::Deref for FPB {
}
/// Floating Point Unit
+#[allow(clippy::upper_case_acronyms)]
pub struct FPU {
_marker: PhantomData<*const ()>,
}
@@ -433,6 +439,7 @@ impl ops::Deref for FPU {
/// `actlr`. It's called the "implementation control block" in the ARMv8-M
/// standard, but earlier standards contained the registers, just without a
/// name.
+#[allow(clippy::upper_case_acronyms)]
pub struct ICB {
_marker: PhantomData<*const ()>,
}
@@ -467,6 +474,7 @@ impl ops::DerefMut for ICB {
}
/// Instrumentation Trace Macrocell
+#[allow(clippy::upper_case_acronyms)]
pub struct ITM {
_marker: PhantomData<*const ()>,
}
@@ -504,6 +512,7 @@ impl ops::DerefMut for ITM {
}
/// Memory Protection Unit
+#[allow(clippy::upper_case_acronyms)]
pub struct MPU {
_marker: PhantomData<*const ()>,
}
@@ -531,6 +540,7 @@ impl ops::Deref for MPU {
}
/// Nested Vector Interrupt Controller
+#[allow(clippy::upper_case_acronyms)]
pub struct NVIC {
_marker: PhantomData<*const ()>,
}
@@ -558,6 +568,7 @@ impl ops::Deref for NVIC {
}
/// Security Attribution Unit
+#[allow(clippy::upper_case_acronyms)]
pub struct SAU {
_marker: PhantomData<*const ()>,
}
@@ -587,6 +598,7 @@ impl ops::Deref for SAU {
}
/// System Control Block
+#[allow(clippy::upper_case_acronyms)]
pub struct SCB {
_marker: PhantomData<*const ()>,
}
@@ -614,6 +626,7 @@ impl ops::Deref for SCB {
}
/// SysTick: System Timer
+#[allow(clippy::upper_case_acronyms)]
pub struct SYST {
_marker: PhantomData<*const ()>,
}
@@ -641,6 +654,7 @@ impl ops::Deref for SYST {
}
/// Trace Port Interface Unit
+#[allow(clippy::upper_case_acronyms)]
pub struct TPIU {
_marker: PhantomData<*const ()>,
}