[−][src]Struct stm32l0xx_hal::stm32::rtc::tampcr::_TAMPFLTW
Proxy
Methods
impl<'a> _TAMPFLTW<'a>
[src]
pub fn variant(self, variant: TAMPFLTW) -> &'a mut W
[src]
Writes variant
to the field
pub fn immediate(self) -> &'a mut W
[src]
Tamper event is activated on edge of RTC_TAMPx input transitions to the active level (no internal pull-up on RTC_TAMPx input)
pub fn two_samples(self) -> &'a mut W
[src]
Tamper event is activated after 2 consecutive samples at the active level
pub fn four_samples(self) -> &'a mut W
[src]
Tamper event is activated after 4 consecutive samples at the active level
pub fn eight_samples(self) -> &'a mut W
[src]
Tamper event is activated after 8 consecutive samples at the active level
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self