Struct ht32f1yyy::ht32f125x::gpioa::lockr::R

source ·
pub struct R(_);
Expand description

Register LOCKR reader

Implementations§

source§

impl R

source

pub fn lock0(&self) -> LOCK0_R

Bit 0 - LOCK0

source

pub fn lock1(&self) -> LOCK1_R

Bit 1 - LOCK1

source

pub fn lock2(&self) -> LOCK2_R

Bit 2 - LOCK2

source

pub fn lock3(&self) -> LOCK3_R

Bit 3 - LOCK3

source

pub fn lock4(&self) -> LOCK4_R

Bit 4 - LOCK4

source

pub fn lock5(&self) -> LOCK5_R

Bit 5 - LOCK5

source

pub fn lock6(&self) -> LOCK6_R

Bit 6 - LOCK6

source

pub fn lock7(&self) -> LOCK7_R

Bit 7 - LOCK7

source

pub fn lock8(&self) -> LOCK8_R

Bit 8 - LOCK8

source

pub fn lock9(&self) -> LOCK9_R

Bit 9 - LOCK9

source

pub fn lock10(&self) -> LOCK10_R

Bit 10 - LOCK10

source

pub fn lock11(&self) -> LOCK11_R

Bit 11 - LOCK11

source

pub fn lock12(&self) -> LOCK12_R

Bit 12 - LOCK12

source

pub fn lock13(&self) -> LOCK13_R

Bit 13 - LOCK13

source

pub fn lock14(&self) -> LOCK14_R

Bit 14 - LOCK14

source

pub fn lock15(&self) -> LOCK15_R

Bit 15 - LOCK15

source

pub fn lkey(&self) -> LKEY_R

Bits 16:31 - LKEY

Methods from Deref<Target = R<LOCKR_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<LOCKR_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<LOCKR_SPEC>> for R

source§

fn from(reader: R<LOCKR_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.