Trait kernel::Chip[][src]

pub trait Chip {
    type MPU: MPU;
    type SysTick: SysTick;
    fn service_pending_interrupts(&mut self);
fn has_pending_interrupts(&self) -> bool;
fn mpu(&self) -> &Self::MPU;
fn systick(&self) -> &Self::SysTick;
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