Struct lpc55_hal::peripherals::prince::Prince [−][src]
Fields
_state: State
Implementations
impl Prince
[src]
pub fn new(raw: PRINCE) -> Self
[src]
pub fn enabled(self, rng: &Rng<Enabled>) -> Prince<Enabled>
[src]
impl Prince<Enabled>
[src]
pub fn enable_all_region_2(&self)
[src]
pub fn enable_all_region_1(&self)
[src]
pub fn enable_all_region_0(&self)
[src]
pub fn disable_all_region_2(&self)
[src]
pub fn disable_all_region_1(&self)
[src]
pub fn disable_all_region_0(&self)
[src]
pub fn enable_region_2_for<R>(&self, f: impl FnOnce() -> R) -> R
[src]
pub fn enable_region_1_for<R>(&self, f: impl FnOnce() -> R) -> R
[src]
pub fn enable_region_0_for<R>(&self, f: impl FnOnce() -> R) -> R
[src]
pub fn set_region_enable(&self, region: Region, enable: u32)
[src]
pub fn write_encrypted<R>(&mut self, f: impl FnOnce(&mut Self) -> R) -> R
[src]
pub unsafe fn enable_encrypted_write(&mut self)
[src]
marked unsafe to discourage unpaired use; prefer write_encrypted
pub unsafe fn disable_encrypted_write(&mut self)
[src]
marked unsafe to discourage unpaired use; prefer write_encrypted
Trait Implementations
Auto Trait Implementations
impl<State> Send for Prince<State> where
State: Send,
[src]
State: Send,
impl<State = Unknown> !Sync for Prince<State>
[src]
impl<State> Unpin for Prince<State> where
State: Unpin,
[src]
State: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,