nrf-pac

Crates

git

Versions

nrf52832

Flavors

nrf_pac::bprot::regs

Struct Config3

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

Block protect configuration register 3

Tuple Fields§

§0: u32

Implementations§

Source§

impl Config3

Source

pub const fn region96(&self) -> bool

Enable protection for region 96. Write ‘0’ has no effect.

Source

pub fn set_region96(&mut self, val: bool)

Enable protection for region 96. Write ‘0’ has no effect.

Source

pub const fn region97(&self) -> bool

Enable protection for region 97. Write ‘0’ has no effect.

Source

pub fn set_region97(&mut self, val: bool)

Enable protection for region 97. Write ‘0’ has no effect.

Source

pub const fn region98(&self) -> bool

Enable protection for region 98. Write ‘0’ has no effect.

Source

pub fn set_region98(&mut self, val: bool)

Enable protection for region 98. Write ‘0’ has no effect.

Source

pub const fn region99(&self) -> bool

Enable protection for region 99. Write ‘0’ has no effect.

Source

pub fn set_region99(&mut self, val: bool)

Enable protection for region 99. Write ‘0’ has no effect.

Source

pub const fn region100(&self) -> bool

Enable protection for region 100. Write ‘0’ has no effect.

Source

pub fn set_region100(&mut self, val: bool)

Enable protection for region 100. Write ‘0’ has no effect.

Source

pub const fn region101(&self) -> bool

Enable protection for region 101. Write ‘0’ has no effect.

Source

pub fn set_region101(&mut self, val: bool)

Enable protection for region 101. Write ‘0’ has no effect.

Source

pub const fn region102(&self) -> bool

Enable protection for region 102. Write ‘0’ has no effect.

Source

pub fn set_region102(&mut self, val: bool)

Enable protection for region 102. Write ‘0’ has no effect.

Source

pub const fn region103(&self) -> bool

Enable protection for region 103. Write ‘0’ has no effect.

Source

pub fn set_region103(&mut self, val: bool)

Enable protection for region 103. Write ‘0’ has no effect.

Source

pub const fn region104(&self) -> bool

Enable protection for region 104. Write ‘0’ has no effect.

Source

pub fn set_region104(&mut self, val: bool)

Enable protection for region 104. Write ‘0’ has no effect.

Source

pub const fn region105(&self) -> bool

Enable protection for region 105. Write ‘0’ has no effect.

Source

pub fn set_region105(&mut self, val: bool)

Enable protection for region 105. Write ‘0’ has no effect.

Source

pub const fn region106(&self) -> bool

Enable protection for region 106. Write ‘0’ has no effect.

Source

pub fn set_region106(&mut self, val: bool)

Enable protection for region 106. Write ‘0’ has no effect.

Source

pub const fn region107(&self) -> bool

Enable protection for region 107. Write ‘0’ has no effect.

Source

pub fn set_region107(&mut self, val: bool)

Enable protection for region 107. Write ‘0’ has no effect.

Source

pub const fn region108(&self) -> bool

Enable protection for region 108. Write ‘0’ has no effect.

Source

pub fn set_region108(&mut self, val: bool)

Enable protection for region 108. Write ‘0’ has no effect.

Source

pub const fn region109(&self) -> bool

Enable protection for region 109. Write ‘0’ has no effect.

Source

pub fn set_region109(&mut self, val: bool)

Enable protection for region 109. Write ‘0’ has no effect.

Source

pub const fn region110(&self) -> bool

Enable protection for region 110. Write ‘0’ has no effect.

Source

pub fn set_region110(&mut self, val: bool)

Enable protection for region 110. Write ‘0’ has no effect.

Source

pub const fn region111(&self) -> bool

Enable protection for region 111. Write ‘0’ has no effect.

Source

pub fn set_region111(&mut self, val: bool)

Enable protection for region 111. Write ‘0’ has no effect.

Source

pub const fn region112(&self) -> bool

Enable protection for region 112. Write ‘0’ has no effect.

Source

pub fn set_region112(&mut self, val: bool)

Enable protection for region 112. Write ‘0’ has no effect.

Source

pub const fn region113(&self) -> bool

Enable protection for region 113. Write ‘0’ has no effect.

Source

pub fn set_region113(&mut self, val: bool)

Enable protection for region 113. Write ‘0’ has no effect.

Source

pub const fn region114(&self) -> bool

Enable protection for region 114. Write ‘0’ has no effect.

Source

pub fn set_region114(&mut self, val: bool)

Enable protection for region 114. Write ‘0’ has no effect.

Source

pub const fn region115(&self) -> bool

Enable protection for region 115. Write ‘0’ has no effect.

Source

pub fn set_region115(&mut self, val: bool)

Enable protection for region 115. Write ‘0’ has no effect.

Source

pub const fn region116(&self) -> bool

Enable protection for region 116. Write ‘0’ has no effect.

Source

pub fn set_region116(&mut self, val: bool)

Enable protection for region 116. Write ‘0’ has no effect.

Source

pub const fn region117(&self) -> bool

Enable protection for region 117. Write ‘0’ has no effect.

Source

pub fn set_region117(&mut self, val: bool)

Enable protection for region 117. Write ‘0’ has no effect.

Source

pub const fn region118(&self) -> bool

Enable protection for region 118. Write ‘0’ has no effect.

Source

pub fn set_region118(&mut self, val: bool)

Enable protection for region 118. Write ‘0’ has no effect.

Source

pub const fn region119(&self) -> bool

Enable protection for region 119. Write ‘0’ has no effect.

Source

pub fn set_region119(&mut self, val: bool)

Enable protection for region 119. Write ‘0’ has no effect.

Source

pub const fn region120(&self) -> bool

Enable protection for region 120. Write ‘0’ has no effect.

Source

pub fn set_region120(&mut self, val: bool)

Enable protection for region 120. Write ‘0’ has no effect.

Source

pub const fn region121(&self) -> bool

Enable protection for region 121. Write ‘0’ has no effect.

Source

pub fn set_region121(&mut self, val: bool)

Enable protection for region 121. Write ‘0’ has no effect.

Source

pub const fn region122(&self) -> bool

Enable protection for region 122. Write ‘0’ has no effect.

Source

pub fn set_region122(&mut self, val: bool)

Enable protection for region 122. Write ‘0’ has no effect.

Source

pub const fn region123(&self) -> bool

Enable protection for region 123. Write ‘0’ has no effect.

Source

pub fn set_region123(&mut self, val: bool)

Enable protection for region 123. Write ‘0’ has no effect.

Source

pub const fn region124(&self) -> bool

Enable protection for region 124. Write ‘0’ has no effect.

Source

pub fn set_region124(&mut self, val: bool)

Enable protection for region 124. Write ‘0’ has no effect.

Source

pub const fn region125(&self) -> bool

Enable protection for region 125. Write ‘0’ has no effect.

Source

pub fn set_region125(&mut self, val: bool)

Enable protection for region 125. Write ‘0’ has no effect.

Source

pub const fn region126(&self) -> bool

Enable protection for region 126. Write ‘0’ has no effect.

Source

pub fn set_region126(&mut self, val: bool)

Enable protection for region 126. Write ‘0’ has no effect.

Source

pub const fn region127(&self) -> bool

Enable protection for region 127. Write ‘0’ has no effect.

Source

pub fn set_region127(&mut self, val: bool)

Enable protection for region 127. Write ‘0’ has no effect.

Trait Implementations§

Source§

impl Clone for Config3

Source§

fn clone(&self) -> Config3

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 Config3

Source§

fn default() -> Config3

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

impl PartialEq for Config3

Source§

fn eq(&self, other: &Config3) -> 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 Config3

Source§

impl Eq for Config3

Source§

impl StructuralPartialEq for Config3

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.