Struct rtfm::Peripherals
source · pub struct Peripherals<'a> {
pub CBP: CBP,
pub CPUID: CPUID,
pub DCB: &'a mut DCB,
pub FPB: FPB,
pub FPU: FPU,
pub ITM: ITM,
pub MPU: MPU,
pub SCB: &'a mut SCB,
pub TPIU: TPIU,
}
Expand description
Core peripherals
This is cortex_m::Peripherals
minus the peripherals that the RTFM runtime uses
- The
NVIC
field is never present. - When the
timer-queue
feature is enabled the following fields are not present:DWT
andSYST
.
Fields
CBP: CBP
Cache and branch predictor maintenance operations (not present on Cortex-M0 variants)
CPUID: CPUID
CPUID
DCB: &'a mut DCB
Debug Control Block (by value if the timer-queue
feature is disabled)
FPB: FPB
Flash Patch and Breakpoint unit (not present on Cortex-M0 variants)
FPU: FPU
Floating Point Unit (only present on thumbv7em-none-eabihf
)
ITM: ITM
Instrumentation Trace Macrocell (not present on Cortex-M0 variants)
MPU: MPU
Memory Protection Unit
SCB: &'a mut SCB
System Control Block
TPIU: TPIU
Trace Port Interface Unit (not present on Cortex-M0 variants)
Auto Trait Implementations
impl<'a> RefUnwindSafe for Peripherals<'a>
impl<'a> Send for Peripherals<'a>
impl<'a> !Sync for Peripherals<'a>
impl<'a> Unpin for Peripherals<'a>
impl<'a> !UnwindSafe for Peripherals<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more