Struct daisy::pac::hrtim_timb::rstb1r::W

pub struct W(/* private fields */);
Expand description

Register RSTB1R writer

Implementations§

§

impl W

pub fn update(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 31>

Bit 31 - UPDATE

pub fn extevnt10( &mut self ) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 30>

Bit 30 - EXTEVNT10

pub fn extevnt9(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 29>

Bit 29 - EXTEVNT9

pub fn extevnt8(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 28>

Bit 28 - EXTEVNT8

pub fn extevnt7(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 27>

Bit 27 - EXTEVNT7

pub fn extevnt6(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 26>

Bit 26 - EXTEVNT6

pub fn extevnt5(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 25>

Bit 25 - EXTEVNT5

pub fn extevnt4(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 24>

Bit 24 - EXTEVNT4

pub fn extevnt3(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 23>

Bit 23 - EXTEVNT3

pub fn extevnt2(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 22>

Bit 22 - EXTEVNT2

pub fn extevnt1(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 21>

Bit 21 - EXTEVNT1

pub fn timevnt9(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 20>

Bit 20 - TIMEVNT9

pub fn timevnt8(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 19>

Bit 19 - TIMEVNT8

pub fn timevnt7(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 18>

Bit 18 - TIMEVNT7

pub fn timevnt6(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 17>

Bit 17 - TIMEVNT6

pub fn timevnt5(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 16>

Bit 16 - TIMEVNT5

pub fn timevnt4(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 15>

Bit 15 - TIMEVNT4

pub fn timevnt3(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 14>

Bit 14 - TIMEVNT3

pub fn timevnt2(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 13>

Bit 13 - TIMEVNT2

pub fn timevnt1(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 12>

Bit 12 - TIMEVNT1

pub fn mstcmp4(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 11>

Bit 11 - MSTCMP4

pub fn mstcmp3(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 10>

Bit 10 - MSTCMP3

pub fn mstcmp2(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 9>

Bit 9 - MSTCMP2

pub fn mstcmp1(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 8>

Bit 8 - MSTCMP1

pub fn mstper(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 7>

Bit 7 - MSTPER

pub fn cmp4(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 6>

Bit 6 - CMP4

pub fn cmp3(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 5>

Bit 5 - CMP3

pub fn cmp2(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 4>

Bit 4 - CMP2

pub fn cmp1(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 3>

Bit 3 - CMP1

pub fn per(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 2>

Bit 2 - PER

pub fn resync(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 1>

Bit 1 - RESYNC

pub fn srt(&mut self) -> BitWriterRaw<'_, u32, RSTB1R_SPEC, bool, BitM, 0>

Bit 0 - SRT

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

Writes raw bits to the register.

Methods from Deref<Target = W<RSTB1R_SPEC>>§

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

Writes raw bits to the register.

Trait Implementations§

§

impl Deref for W

§

type Target = W<RSTB1R_SPEC>

The resulting type after dereferencing.
§

fn deref(&self) -> &<W as Deref>::Target

Dereferences the value.
§

impl DerefMut for W

§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
§

impl From<W<RSTB1R_SPEC>> for W

§

fn from(writer: W<RSTB1R_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.