Struct lpc55_hal::peripherals::puf::Puf[][src]

pub struct Puf<State = Unknown> {
    pub _state: State,
    // some fields omitted
}

Fields

_state: State

Implementations

impl Puf[src]

pub unsafe fn steal() -> Self[src]

impl<State> Puf<State>[src]

pub fn release(self) -> PUF[src]

impl<State> Puf<State>[src]

pub fn enabled(self, syscon: &mut Syscon) -> Puf<Enabled>[src]

pub fn disabled(self, syscon: &mut Syscon) -> Puf<Disabled>[src]

impl<T> Puf<Enabled<T>>[src]

pub fn generate_key(
    &self,
    key_size: u32,
    key_index: u8,
    key_code: &mut [u8]
) -> Result<()>
[src]

pub fn set_key(
    &self,
    _key_size: u32,
    _key_index: u8,
    _user_key: &[u8],
    _key_code: &mut [u8]
) -> Result<()>
[src]

pub fn version(&self) -> u32[src]

pub fn reset(&self)[src]

impl Puf<Enabled>[src]

pub fn enroll(
    self,
    ac_buffer: &mut [u8; 1192]
) -> Result<Puf<Enabled<Enrolled>>>
[src]

pub fn start(self, ac_buffer: &[u8; 1192]) -> Result<Puf<Enabled<Started>>>[src]

impl Puf<Enabled<Started>>[src]

pub fn get_key(
    &self,
    key_destination: KEY_A,
    key_code: &[u8],
    key: &mut [u8]
) -> Result<usize>
[src]

Trait Implementations

impl<State> Debug for Puf<State>[src]

impl From<PUF> for Puf[src]

Auto Trait Implementations

impl<State> Send for Puf<State> where
    State: Send

impl<State = Unknown> !Sync for Puf<State>

impl<State> Unpin for Puf<State> where
    State: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.