[][src]Trait kernel::Chip

pub trait Chip {
    type MPU: MPU;
    type UserspaceKernelBoundary: UserspaceKernelBoundary;
    type SysTick: SysTick;
    fn service_pending_interrupts(&self);
fn has_pending_interrupts(&self) -> bool;
fn mpu(&self) -> &Self::MPU;
fn systick(&self) -> &Self::SysTick;
fn userspace_kernel_boundary(&self) -> &Self::UserspaceKernelBoundary;
fn sleep(&self);
unsafe fn atomic<F, R>(&self, f: F) -> R
    where
        F: FnOnce() -> R
; }

Interface for individual MCUs.

Associated Types

Required Methods

Implementors