pub(crate) struct Imix {Show 22 fields
pub(crate) pconsole: &'static ProcessConsole<'static, { capsules_core::process_console::DEFAULT_COMMAND_HISTORY_LEN }, VirtualMuxAlarm<'static, Ast<'static>>, Capability>,
pub(crate) console: &'static ConsoleOrdered<'static, VirtualMuxAlarm<'static, Ast<'static>>>,
pub(crate) gpio: &'static GPIO<'static, GPIOPin<'static>>,
pub(crate) alarm: &'static AlarmDriver<'static, VirtualMuxAlarm<'static, Ast<'static>>>,
pub(crate) temp: &'static TemperatureComponentType<SI7021ComponentType<VirtualMuxAlarm<'static, Ast<'static>>, I2CDevice<'static, I2CHw<'static>>>>,
pub(crate) humidity: &'static HumidityComponentType<SI7021ComponentType<VirtualMuxAlarm<'static, Ast<'static>>, I2CDevice<'static, I2CHw<'static>>>>,
pub(crate) ambient_light: &'static AmbientLight<'static>,
pub(crate) adc: &'static AdcDedicated<'static, Adc<'static>>,
pub(crate) led: &'static LedDriver<'static, LedHigh<'static, GPIOPin<'static>>, 1>,
pub(crate) button: &'static Button<'static, GPIOPin<'static>>,
pub(crate) rng: &'static RngComponentType<Trng<'static>>,
pub(crate) analog_comparator: &'static AnalogComparator<'static, Acifc<'static>>,
pub(crate) spi: &'static Spi<'static, VirtualSpiMasterDevice<'static, SpiHw<'static>>>,
pub(crate) ipc: IPC<{ _ }>,
pub(crate) ninedof: &'static NineDof<'static>,
pub(crate) udp_driver: &'static UDPDriver<'static>,
pub(crate) crc: &'static CrcDriver<'static, Crccu<'static>>,
pub(crate) usb_driver: &'static UsbSyscallDriver<'static, Client<'static, Usbc<'static>>>,
pub(crate) nrf51822: &'static Nrf51822Serialization<'static>,
pub(crate) nonvolatile_storage: &'static NonvolatileStorage<'static>,
pub(crate) scheduler: &'static RoundRobinSched<'static>,
pub(crate) systick: SysTick,
}
Fields§
§pconsole: &'static ProcessConsole<'static, { capsules_core::process_console::DEFAULT_COMMAND_HISTORY_LEN }, VirtualMuxAlarm<'static, Ast<'static>>, Capability>
§console: &'static ConsoleOrdered<'static, VirtualMuxAlarm<'static, Ast<'static>>>
§gpio: &'static GPIO<'static, GPIOPin<'static>>
§alarm: &'static AlarmDriver<'static, VirtualMuxAlarm<'static, Ast<'static>>>
§temp: &'static TemperatureComponentType<SI7021ComponentType<VirtualMuxAlarm<'static, Ast<'static>>, I2CDevice<'static, I2CHw<'static>>>>
§humidity: &'static HumidityComponentType<SI7021ComponentType<VirtualMuxAlarm<'static, Ast<'static>>, I2CDevice<'static, I2CHw<'static>>>>
§ambient_light: &'static AmbientLight<'static>
§adc: &'static AdcDedicated<'static, Adc<'static>>
§led: &'static LedDriver<'static, LedHigh<'static, GPIOPin<'static>>, 1>
§rng: &'static RngComponentType<Trng<'static>>
§analog_comparator: &'static AnalogComparator<'static, Acifc<'static>>
§spi: &'static Spi<'static, VirtualSpiMasterDevice<'static, SpiHw<'static>>>
§ipc: IPC<{ _ }>
§ninedof: &'static NineDof<'static>
§udp_driver: &'static UDPDriver<'static>
§crc: &'static CrcDriver<'static, Crccu<'static>>
§usb_driver: &'static UsbSyscallDriver<'static, Client<'static, Usbc<'static>>>
§nrf51822: &'static Nrf51822Serialization<'static>
§nonvolatile_storage: &'static NonvolatileStorage<'static>
§scheduler: &'static RoundRobinSched<'static>
§systick: SysTick
Trait Implementations§
Source§impl KernelResources<Sam4l<Sam4lDefaultPeripherals>> for Imix
impl KernelResources<Sam4l<Sam4lDefaultPeripherals>> for Imix
Source§type SyscallDriverLookup = Imix
type SyscallDriverLookup = Imix
The implementation of the system call dispatch mechanism the kernel
will use.
Source§type SyscallFilter = ()
type SyscallFilter = ()
The implementation of the system call filtering mechanism the kernel
will use.
Source§type ProcessFault = ()
type ProcessFault = ()
The implementation of the process fault handling mechanism the kernel
will use.
Source§type Scheduler = RoundRobinSched<'static>
type Scheduler = RoundRobinSched<'static>
The implementation of the scheduling algorithm the kernel will use.
Source§type SchedulerTimer = SysTick
type SchedulerTimer = SysTick
The implementation of the timer used to create the timeslices provided
to applications.
Source§type WatchDog = ()
type WatchDog = ()
The implementation of the WatchDog timer used to monitor the running
of the kernel.
Source§type ContextSwitchCallback = ()
type ContextSwitchCallback = ()
The implementation of the context switch callback handler
the kernel will use.
Source§fn syscall_driver_lookup(&self) -> &Self::SyscallDriverLookup
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
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
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
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
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
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
fn context_switch_callback(&self) -> &Self::ContextSwitchCallback
Returns a reference to the implementation of the ContextSwitchCallback
for this platform.
Source§impl SyscallDriverLookup for Imix
impl SyscallDriverLookup for Imix
Source§fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R
fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R
Platform-specific mapping of syscall numbers to objects that implement
the Driver methods for that syscall. Read more
Auto Trait Implementations§
impl !Freeze for Imix
impl !RefUnwindSafe for Imix
impl !Send for Imix
impl !Sync for Imix
impl Unpin for Imix
impl !UnwindSafe for Imix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more