[−][src]Struct ruspiro_mailbox::Mailbox
MAILBOX peripheral representation
Methods
impl Mailbox
[src]
pub fn get_arm_memory(&self) -> Result<(u32, u32), &'static str>
[src]
Get the ARM memory base address and size as configured in the boot config file
pub fn get_clockrate(&self, clock_id: ArmClockId) -> Result<u32, &'static str>
[src]
Get the clock rate via mailbox interface for the clockId given
pub fn set_clockrate(
&self,
clock_id: ArmClockId,
rate: u32
) -> Result<u32, &'static str>
[src]
&self,
clock_id: ArmClockId,
rate: u32
) -> Result<u32, &'static str>
Set the clock rate via the mailbox interface for the clockId given. The rate will be set to the closest valid value.
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,