pub struct PlatformDevice {
pub descriptor: Descriptor,
}Fields§
§descriptor: DescriptorImplementations§
Source§impl PlatformDevice
impl PlatformDevice
pub fn register_intc<T>(self, driver: T)where
T: Interface,
Source§impl PlatformDevice
impl PlatformDevice
pub fn register_clk<T>(self, driver: T)where
T: Interface,
Source§impl PlatformDevice
impl PlatformDevice
pub fn register_power<T>(self, driver: T)where
T: Interface,
Source§impl PlatformDevice
impl PlatformDevice
pub fn register_systick<T>(self, driver: T)where
T: Interface,
Source§impl PlatformDevice
impl PlatformDevice
pub fn register_serial<T>(self, driver: T)where
T: Interface,
Source§impl PlatformDevice
impl PlatformDevice
pub fn register_block<T>(self, driver: T)where
T: Interface,
Auto Trait Implementations§
impl Freeze for PlatformDevice
impl RefUnwindSafe for PlatformDevice
impl Send for PlatformDevice
impl Sync for PlatformDevice
impl Unpin for PlatformDevice
impl UnwindSafe for PlatformDevice
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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