Struct rtfm::Peripherals
source · pub struct Peripherals<'a> {
pub CBP: CBP,
pub CPUID: CPUID,
pub DCB: DCB,
pub DWT: DWT,
pub FPB: FPB,
pub FPU: FPU,
pub ITM: ITM,
pub MPU: MPU,
pub SCB: &'a mut SCB,
pub SYST: SYST,
pub TPIU: TPIU,
}Expand description
Core peripherals
This is cortex_m::Peripherals minus the peripherals that the RTFM runtime uses
- The
NVICfield is never present. - When the
timer-queuefeature is enabled the following fields are not present:DWTandSYST.
Fields
CBP: CBPCache and branch predictor maintenance operations (not present on Cortex-M0 variants)
CPUID: CPUIDCPUID
DCB: DCBDebug Control Block (borrowed if the timer-queue feature is enabled)
DWT: DWTData Watchpoint and Trace unit (not present if the timer-queue feature is enabled)
FPB: FPBFlash Patch and Breakpoint unit (not present on Cortex-M0 variants)
FPU: FPUFloating Point Unit (only present on thumbv7em-none-eabihf)
ITM: ITMInstrumentation Trace Macrocell (not present on Cortex-M0 variants)
MPU: MPUMemory Protection Unit
SCB: &'a mut SCBSystem Control Block
SYST: SYSTSysTick: System Timer (not present if the timer-queue is enabled)
TPIU: TPIUTrace 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