Struct R

Source
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn tamp1e(&self) -> TAMP1ER

Bit 0 - Tamper 1 detection enable

Source

pub fn tamp1trg(&self) -> TAMP1TRGR

Bit 1 - Active level for tamper 1

Source

pub fn tampie(&self) -> TAMPIER

Bit 2 - Tamper interrupt enable

Source

pub fn tamp2e(&self) -> TAMP2ER

Bit 3 - Tamper 2 detection enable

Source

pub fn tamp2trg(&self) -> TAMP2TRGR

Bit 4 - Active level for tamper 2

Source

pub fn tamp3e(&self) -> TAMP3ER

Bit 5 - Tamper 3 detection enable

Source

pub fn tamp3trg(&self) -> TAMP3TRGR

Bit 6 - Active level for tamper 3

Source

pub fn tampts(&self) -> TAMPTSR

Bit 7 - Activate timestamp on tamper detection event

Source

pub fn tampfreq(&self) -> TAMPFREQR

Bits 8:10 - Tamper sampling frequency

Source

pub fn tampflt(&self) -> TAMPFLTR

Bits 11:12 - Tamper filter count

Source

pub fn tampprch(&self) -> TAMPPRCHR

Bits 13:14 - Tamper precharge duration

Source

pub fn tamppudis(&self) -> TAMPPUDISR

Bit 15 - TAMPER pull-up disable

Source

pub fn tamp1ie(&self) -> TAMP1IER

Bit 16 - Tamper 1 interrupt enable

Source

pub fn tamp1noerase(&self) -> TAMP1NOERASER

Bit 17 - Tamper 1 no erase

Source

pub fn tamp1mf(&self) -> TAMP1MFR

Bit 18 - Tamper 1 mask flag

Source

pub fn tamp2ie(&self) -> TAMP2IER

Bit 19 - Tamper 2 interrupt enable

Source

pub fn tamp2noerase(&self) -> TAMP2NOERASER

Bit 20 - Tamper 2 no erase

Source

pub fn tamp2mf(&self) -> TAMP2MFR

Bit 21 - Tamper 2 mask flag

Source

pub fn tamp3ie(&self) -> TAMP3IER

Bit 22 - Tamper 3 interrupt enable

Source

pub fn tamp3noerase(&self) -> TAMP3NOERASER

Bit 23 - Tamper 3 no erase

Source

pub fn tamp3mf(&self) -> TAMP3MFR

Bit 24 - Tamper 3 mask flag

Auto Trait Implementations§

§

impl Freeze for R

§

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 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> Same for T

Source§

type Output = T

Should always be Self
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.