nrf-pac

Crates

git

Versions

nrf51

Flavors

nrf_pac::mpu::regs

Struct Protenset1

Source
#[repr(transparent)]
pub struct Protenset1(pub u32);
Expand description

Erase and write protection bit enable set register.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Protenset1

Source

pub const fn protreg32(&self) -> Protreg32

Protection enable for region 32.

Source

pub fn set_protreg32(&mut self, val: Protreg32)

Protection enable for region 32.

Source

pub const fn protreg33(&self) -> Protreg33

Protection enable for region 33.

Source

pub fn set_protreg33(&mut self, val: Protreg33)

Protection enable for region 33.

Source

pub const fn protreg34(&self) -> Protreg34

Protection enable for region 34.

Source

pub fn set_protreg34(&mut self, val: Protreg34)

Protection enable for region 34.

Source

pub const fn protreg35(&self) -> Protreg35

Protection enable for region 35.

Source

pub fn set_protreg35(&mut self, val: Protreg35)

Protection enable for region 35.

Source

pub const fn protreg36(&self) -> Protreg36

Protection enable for region 36.

Source

pub fn set_protreg36(&mut self, val: Protreg36)

Protection enable for region 36.

Source

pub const fn protreg37(&self) -> Protreg37

Protection enable for region 37.

Source

pub fn set_protreg37(&mut self, val: Protreg37)

Protection enable for region 37.

Source

pub const fn protreg38(&self) -> Protreg38

Protection enable for region 38.

Source

pub fn set_protreg38(&mut self, val: Protreg38)

Protection enable for region 38.

Source

pub const fn protreg39(&self) -> Protreg39

Protection enable for region 39.

Source

pub fn set_protreg39(&mut self, val: Protreg39)

Protection enable for region 39.

Source

pub const fn protreg40(&self) -> Protreg40

Protection enable for region 40.

Source

pub fn set_protreg40(&mut self, val: Protreg40)

Protection enable for region 40.

Source

pub const fn protreg41(&self) -> Protreg41

Protection enable for region 41.

Source

pub fn set_protreg41(&mut self, val: Protreg41)

Protection enable for region 41.

Source

pub const fn protreg42(&self) -> Protreg42

Protection enable for region 42.

Source

pub fn set_protreg42(&mut self, val: Protreg42)

Protection enable for region 42.

Source

pub const fn protreg43(&self) -> Protreg43

Protection enable for region 43.

Source

pub fn set_protreg43(&mut self, val: Protreg43)

Protection enable for region 43.

Source

pub const fn protreg44(&self) -> Protreg44

Protection enable for region 44.

Source

pub fn set_protreg44(&mut self, val: Protreg44)

Protection enable for region 44.

Source

pub const fn protreg45(&self) -> Protreg45

Protection enable for region 45.

Source

pub fn set_protreg45(&mut self, val: Protreg45)

Protection enable for region 45.

Source

pub const fn protreg46(&self) -> Protreg46

Protection enable for region 46.

Source

pub fn set_protreg46(&mut self, val: Protreg46)

Protection enable for region 46.

Source

pub const fn protreg47(&self) -> Protreg47

Protection enable for region 47.

Source

pub fn set_protreg47(&mut self, val: Protreg47)

Protection enable for region 47.

Source

pub const fn protreg48(&self) -> Protreg48

Protection enable for region 48.

Source

pub fn set_protreg48(&mut self, val: Protreg48)

Protection enable for region 48.

Source

pub const fn protreg49(&self) -> Protreg49

Protection enable for region 49.

Source

pub fn set_protreg49(&mut self, val: Protreg49)

Protection enable for region 49.

Source

pub const fn protreg50(&self) -> Protreg50

Protection enable for region 50.

Source

pub fn set_protreg50(&mut self, val: Protreg50)

Protection enable for region 50.

Source

pub const fn protreg51(&self) -> Protreg51

Protection enable for region 51.

Source

pub fn set_protreg51(&mut self, val: Protreg51)

Protection enable for region 51.

Source

pub const fn protreg52(&self) -> Protreg52

Protection enable for region 52.

Source

pub fn set_protreg52(&mut self, val: Protreg52)

Protection enable for region 52.

Source

pub const fn protreg53(&self) -> Protreg53

Protection enable for region 53.

Source

pub fn set_protreg53(&mut self, val: Protreg53)

Protection enable for region 53.

Source

pub const fn protreg54(&self) -> Protreg54

Protection enable for region 54.

Source

pub fn set_protreg54(&mut self, val: Protreg54)

Protection enable for region 54.

Source

pub const fn protreg55(&self) -> Protreg55

Protection enable for region 55.

Source

pub fn set_protreg55(&mut self, val: Protreg55)

Protection enable for region 55.

Source

pub const fn protreg56(&self) -> Protreg56

Protection enable for region 56.

Source

pub fn set_protreg56(&mut self, val: Protreg56)

Protection enable for region 56.

Source

pub const fn protreg57(&self) -> Protreg57

Protection enable for region 57.

Source

pub fn set_protreg57(&mut self, val: Protreg57)

Protection enable for region 57.

Source

pub const fn protreg58(&self) -> Protreg58

Protection enable for region 58.

Source

pub fn set_protreg58(&mut self, val: Protreg58)

Protection enable for region 58.

Source

pub const fn protreg59(&self) -> Protreg59

Protection enable for region 59.

Source

pub fn set_protreg59(&mut self, val: Protreg59)

Protection enable for region 59.

Source

pub const fn protreg60(&self) -> Protreg60

Protection enable for region 60.

Source

pub fn set_protreg60(&mut self, val: Protreg60)

Protection enable for region 60.

Source

pub const fn protreg61(&self) -> Protreg61

Protection enable for region 61.

Source

pub fn set_protreg61(&mut self, val: Protreg61)

Protection enable for region 61.

Source

pub const fn protreg62(&self) -> Protreg62

Protection enable for region 62.

Source

pub fn set_protreg62(&mut self, val: Protreg62)

Protection enable for region 62.

Source

pub const fn protreg63(&self) -> Protreg63

Protection enable for region 63.

Source

pub fn set_protreg63(&mut self, val: Protreg63)

Protection enable for region 63.

Trait Implementations§

Source§

impl Clone for Protenset1

Source§

fn clone(&self) -> Protenset1

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
Source§

impl Default for Protenset1

Source§

fn default() -> Protenset1

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Protenset1

Source§

fn eq(&self, other: &Protenset1) -> 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.
Source§

impl Copy for Protenset1

Source§

impl Eq for Protenset1

Source§

impl StructuralPartialEq for Protenset1

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 T)

🔬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.