py32_metapac::flash

Struct Flash

pub struct Flash { /* private fields */ }
Expand description

desc FLASH.

Implementations§

§

impl Flash

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn acr(self) -> Reg<Acr, RW>

desc ACR.

pub const fn keyr(self) -> Reg<u32, W>

desc KEYR.

pub const fn optkeyr(self) -> Reg<u32, W>

desc OPTKEYR.

pub const fn sr(self) -> Reg<Sr, RW>

desc SR.

pub const fn cr(self) -> Reg<Cr, RW>

desc CR.

pub const fn optr(self) -> Reg<Optr, R>

desc OPTR.

pub const fn sdkr(self) -> Reg<Sdkr, R>

desc SDKR.

pub const fn wrpr(self) -> Reg<Wrpr, RW>

desc WRPR.

pub const fn stcr(self) -> Reg<Stcr, RW>

desc STCR.

pub const fn ts0(self) -> Reg<Ts0, RW>

desc TS0.

pub const fn ts1(self) -> Reg<Ts1, RW>

desc TS1.

pub const fn ts2p(self) -> Reg<Ts2p, RW>

desc TS2P.

pub const fn tps3(self) -> Reg<Tps3, RW>

desc TPS3.

pub const fn ts3(self) -> Reg<Ts3, RW>

desc TS3.

pub const fn pertpe(self) -> Reg<Pertpe, RW>

desc PERTPE.

pub const fn smertpe(self) -> Reg<Smertpe, RW>

desc SMERTPE.

pub const fn prgtpe(self) -> Reg<Prgtpe, RW>

desc PRGTPE.

pub const fn pretpe(self) -> Reg<Pretpe, RW>

desc PRETPE.

Trait Implementations§

§

impl Clone for Flash

§

fn clone(&self) -> Flash

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Flash

§

fn eq(&self, other: &Flash) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Flash

§

impl Eq for Flash

§

impl Send for Flash

§

impl StructuralPartialEq for Flash

§

impl Sync for Flash

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.