Struct gd32f1x0_hal::pac::rtc::alrm0td::W[][src]

pub struct W(_);
Expand description

Register ALRM0TD writer

Implementations

impl W[src]

pub fn mskd(&mut self) -> MSKD_W<'_>[src]

Bit 31 - Alarm date mask bit

pub fn dows(&mut self) -> DOWS_W<'_>[src]

Bit 30 - Day of the week selected

pub fn dayt(&mut self) -> DAYT_W<'_>[src]

Bits 28:29 - Date tens in BCD code

pub fn dayu(&mut self) -> DAYU_W<'_>[src]

Bits 24:27 - Date units or week day in BCD code

pub fn mskh(&mut self) -> MSKH_W<'_>[src]

Bit 23 - Alarm hour mask bit

pub fn pm(&mut self) -> PM_W<'_>[src]

Bit 22 - AM/PM flag

pub fn hrt(&mut self) -> HRT_W<'_>[src]

Bits 20:21 - Hour tens in BCD code

pub fn hru(&mut self) -> HRU_W<'_>[src]

Bits 16:19 - Hour units in BCD code

pub fn mskm(&mut self) -> MSKM_W<'_>[src]

Bit 15 - Alarm minutes mask bit

pub fn mnt(&mut self) -> MNT_W<'_>[src]

Bits 12:14 - Minutes tens in BCD code

pub fn mnu(&mut self) -> MNU_W<'_>[src]

Bits 8:11 - Minutes units in BCD code

pub fn msks(&mut self) -> MSKS_W<'_>[src]

Bit 7 - Alarm second mask bit

pub fn sct(&mut self) -> SCT_W<'_>[src]

Bits 4:6 - Second tens in BCD code

pub fn scu(&mut self) -> SCU_W<'_>[src]

Bits 0:3 - Second units in BCD code

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register.

Methods from Deref<Target = W<ALRM0TD_SPEC>>

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<ALRM0TD_SPEC>

The resulting type after dereferencing.

pub fn deref(&self) -> &<W as Deref>::Target[src]

Dereferences the value.

impl DerefMut for W[src]

pub fn deref_mut(&mut self) -> &mut <W as Deref>::Target[src]

Mutably dereferences the value.

impl From<W<ALRM0TD_SPEC>> for W[src]

pub fn from(writer: W<ALRM0TD_SPEC>) -> W[src]

Performs the conversion.

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.