Struct atsame70n21b::lockbit::word3::W

source ·
pub struct W(/* private fields */);
Expand description

Register WORD3 writer

Implementations§

source§

impl W

source

pub fn lock_region_96(&mut self) -> LOCK_REGION_96_W<'_, 0>

Bit 0 - Lock Region 96

source

pub fn lock_region_97(&mut self) -> LOCK_REGION_97_W<'_, 1>

Bit 1 - Lock Region 97

source

pub fn lock_region_98(&mut self) -> LOCK_REGION_98_W<'_, 2>

Bit 2 - Lock Region 98

source

pub fn lock_region_99(&mut self) -> LOCK_REGION_99_W<'_, 3>

Bit 3 - Lock Region 99

source

pub fn lock_region_100(&mut self) -> LOCK_REGION_100_W<'_, 4>

Bit 4 - Lock Region 100

source

pub fn lock_region_101(&mut self) -> LOCK_REGION_101_W<'_, 5>

Bit 5 - Lock Region 101

source

pub fn lock_region_102(&mut self) -> LOCK_REGION_102_W<'_, 6>

Bit 6 - Lock Region 102

source

pub fn lock_region_103(&mut self) -> LOCK_REGION_103_W<'_, 7>

Bit 7 - Lock Region 103

source

pub fn lock_region_104(&mut self) -> LOCK_REGION_104_W<'_, 8>

Bit 8 - Lock Region 104

source

pub fn lock_region_105(&mut self) -> LOCK_REGION_105_W<'_, 9>

Bit 9 - Lock Region 105

source

pub fn lock_region_106(&mut self) -> LOCK_REGION_106_W<'_, 10>

Bit 10 - Lock Region 106

source

pub fn lock_region_107(&mut self) -> LOCK_REGION_107_W<'_, 11>

Bit 11 - Lock Region 107

source

pub fn lock_region_108(&mut self) -> LOCK_REGION_108_W<'_, 12>

Bit 12 - Lock Region 108

source

pub fn lock_region_109(&mut self) -> LOCK_REGION_109_W<'_, 13>

Bit 13 - Lock Region 109

source

pub fn lock_region_110(&mut self) -> LOCK_REGION_110_W<'_, 14>

Bit 14 - Lock Region 110

source

pub fn lock_region_111(&mut self) -> LOCK_REGION_111_W<'_, 15>

Bit 15 - Lock Region 111

source

pub fn lock_region_112(&mut self) -> LOCK_REGION_112_W<'_, 16>

Bit 16 - Lock Region 112

source

pub fn lock_region_113(&mut self) -> LOCK_REGION_113_W<'_, 17>

Bit 17 - Lock Region 113

source

pub fn lock_region_114(&mut self) -> LOCK_REGION_114_W<'_, 18>

Bit 18 - Lock Region 114

source

pub fn lock_region_115(&mut self) -> LOCK_REGION_115_W<'_, 19>

Bit 19 - Lock Region 115

source

pub fn lock_region_116(&mut self) -> LOCK_REGION_116_W<'_, 20>

Bit 20 - Lock Region 116

source

pub fn lock_region_117(&mut self) -> LOCK_REGION_117_W<'_, 21>

Bit 21 - Lock Region 117

source

pub fn lock_region_118(&mut self) -> LOCK_REGION_118_W<'_, 22>

Bit 22 - Lock Region 118

source

pub fn lock_region_119(&mut self) -> LOCK_REGION_119_W<'_, 23>

Bit 23 - Lock Region 119

source

pub fn lock_region_120(&mut self) -> LOCK_REGION_120_W<'_, 24>

Bit 24 - Lock Region 120

source

pub fn lock_region_121(&mut self) -> LOCK_REGION_121_W<'_, 25>

Bit 25 - Lock Region 121

source

pub fn lock_region_122(&mut self) -> LOCK_REGION_122_W<'_, 26>

Bit 26 - Lock Region 122

source

pub fn lock_region_123(&mut self) -> LOCK_REGION_123_W<'_, 27>

Bit 27 - Lock Region 123

source

pub fn lock_region_124(&mut self) -> LOCK_REGION_124_W<'_, 28>

Bit 28 - Lock Region 124

source

pub fn lock_region_125(&mut self) -> LOCK_REGION_125_W<'_, 29>

Bit 29 - Lock Region 125

source

pub fn lock_region_126(&mut self) -> LOCK_REGION_126_W<'_, 30>

Bit 30 - Lock Region 126

source

pub fn lock_region_127(&mut self) -> LOCK_REGION_127_W<'_, 31>

Bit 31 - Lock Region 127

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<WORD3_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<WORD3_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<WORD3_SPEC>> for W

source§

fn from(original: W<WORD3_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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> 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>,

§

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>,

§

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.