pub(crate) struct Imxrt1050EVKB {
    pub(crate) alarm: &'static AlarmDriver<'static, VirtualMuxAlarm<'static, Gpt1<'static>>>,
    pub(crate) button: &'static Button<'static, Pin<'static>>,
    pub(crate) console: &'static Console<'static>,
    pub(crate) gpio: &'static GPIO<'static, Pin<'static>>,
    pub(crate) ipc: IPC<{ _ }>,
    pub(crate) led: &'static LedDriver<'static, LedLow<'static, Pin<'static>>, 1>,
    pub(crate) ninedof: &'static NineDof<'static>,
    pub(crate) scheduler: &'static RoundRobinSched<'static>,
    pub(crate) systick: SysTick,
}
Expand description

A structure representing this platform that holds references to all capsules for this platform.

Fields§

§alarm: &'static AlarmDriver<'static, VirtualMuxAlarm<'static, Gpt1<'static>>>§button: &'static Button<'static, Pin<'static>>§console: &'static Console<'static>§gpio: &'static GPIO<'static, Pin<'static>>§ipc: IPC<{ _ }>§led: &'static LedDriver<'static, LedLow<'static, Pin<'static>>, 1>§ninedof: &'static NineDof<'static>§scheduler: &'static RoundRobinSched<'static>§systick: SysTick

Trait Implementations§

source§

impl KernelResources<Imxrt10xx<Imxrt10xxDefaultPeripherals>> for Imxrt1050EVKB

§

type SyscallDriverLookup = Imxrt1050EVKB

The implementation of the system call dispatch mechanism the kernel will use.
§

type SyscallFilter = ()

The implementation of the system call filtering mechanism the kernel will use.
§

type ProcessFault = ()

The implementation of the process fault handling mechanism the kernel will use.
§

type Scheduler = RoundRobinSched<'static>

The implementation of the scheduling algorithm the kernel will use.
§

type SchedulerTimer = SysTick

The implementation of the timer used to create the timeslices provided to applications.
§

type WatchDog = ()

The implementation of the WatchDog timer used to monitor the running of the kernel.
§

type ContextSwitchCallback = ()

The implementation of the context switch callback handler the kernel will use.
source§

fn syscall_driver_lookup(&self) -> &Self::SyscallDriverLookup

Returns a reference to the implementation of the SyscallDriverLookup this platform will use to route syscalls.
source§

fn syscall_filter(&self) -> &Self::SyscallFilter

Returns a reference to the implementation of the SyscallFilter this platform wants the kernel to use.
source§

fn process_fault(&self) -> &Self::ProcessFault

Returns a reference to the implementation of the ProcessFault handler this platform wants the kernel to use.
source§

fn scheduler(&self) -> &Self::Scheduler

Returns a reference to the implementation of the Scheduler this platform wants the kernel to use.
source§

fn scheduler_timer(&self) -> &Self::SchedulerTimer

Returns a reference to the implementation of the SchedulerTimer timer for this platform.
source§

fn watchdog(&self) -> &Self::WatchDog

Returns a reference to the implementation of the WatchDog on this platform.
source§

fn context_switch_callback(&self) -> &Self::ContextSwitchCallback

Returns a reference to the implementation of the ContextSwitchCallback for this platform.
source§

impl SyscallDriverLookup for Imxrt1050EVKB

Mapping of integer syscalls to objects that implement syscalls.

source§

fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R
where F: FnOnce(Option<&dyn SyscallDriver>) -> R,

Platform-specific mapping of syscall numbers to objects that implement the Driver methods for that syscall. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> SizedTypeProperties for T

source§

const IS_ZST: bool = _

🔬This is a nightly-only experimental API. (sized_type_properties)
true if this type requires no storage. false if its size is greater than zero. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.