[−][src]Struct lpc55s6x_hal::peripherals::rng::Rng
Fields
_state: State
Methods
impl Rng
[src]
impl<State> Rng<State>
[src]
impl<State> Rng<State>
[src]
pub fn enabled(self, syscon: &mut Syscon) -> Rng<Enabled>
[src]
pub fn disabled(self, syscon: &mut Syscon) -> Rng<Disabled>
[src]
impl Rng<Enabled>
[src]
pub fn get_random_u32(&self) -> u32
[src]
pub fn module_id(&self) -> ModuleId
[src]
random method to get some information about the RNG
Trait Implementations
Auto Trait Implementations
impl<State> Unpin for Rng<State> where
State: Unpin,
State: Unpin,
impl<State> Send for Rng<State> where
State: Send,
State: Send,
impl<State = Unknown> !Sync for Rng<State>
Blanket Implementations
impl<T> From<T> for T
[src]
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, 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,
impl<T> Same<T> for T
type Output = T
Should always be Self