[−][src]Enum stm32l0xx_hal::pac::rtc::cr::OSELR
Possible values of the field OSEL
Variants
DISABLED
Output disabled
ALARMA
Alarm A output enabled
ALARMB
Alarm B output enabled
WAKEUP
Wakeup output enabled
Methods
impl OSELR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_disabled(&self) -> bool
[src]
Checks if the value of the field is DISABLED
pub fn is_alarm_a(&self) -> bool
[src]
Checks if the value of the field is ALARMA
pub fn is_alarm_b(&self) -> bool
[src]
Checks if the value of the field is ALARMB
pub fn is_wakeup(&self) -> bool
[src]
Checks if the value of the field is WAKEUP
Trait Implementations
impl PartialEq<OSELR> for OSELR
[src]
impl Debug for OSELR
[src]
impl Copy for OSELR
[src]
impl Clone for OSELR
[src]
fn clone(&self) -> OSELR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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