Struct stm32wlxx_hal::pac::tamp::cr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR2
writer
Implementations§
§impl W
impl W
pub fn tamp1noer(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1NOER_A, BitM, 0>
pub fn tamp1noer( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1NOER_A, BitM, 0>
Bit 0 - TAMP1NOER
pub fn tamp2noer(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1NOER_A, BitM, 1>
pub fn tamp2noer( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1NOER_A, BitM, 1>
Bit 1 - TAMP2NOER
pub fn tamp3noer(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1NOER_A, BitM, 2>
pub fn tamp3noer( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1NOER_A, BitM, 2>
Bit 2 - TAMP3NOER
pub fn tamp1msk(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1MSK_A, BitM, 16>
pub fn tamp1msk( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1MSK_A, BitM, 16>
Bit 16 - TAMP1MSK
pub fn tamp2msk(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1MSK_A, BitM, 17>
pub fn tamp2msk( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1MSK_A, BitM, 17>
Bit 17 - TAMP2MSK
pub fn tamp3msk(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1MSK_A, BitM, 18>
pub fn tamp3msk( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1MSK_A, BitM, 18>
Bit 18 - TAMP3MSK
pub fn bkerase(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, BKERASE_A, BitM, 23>
pub fn bkerase( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, BKERASE_A, BitM, 23>
Bit 23 - Backup registerserase
pub fn tamp1trg(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1TRG_A, BitM, 24>
pub fn tamp1trg( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1TRG_A, BitM, 24>
Bit 24 - TAMP1TRG
pub fn tamp2trg(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1TRG_A, BitM, 25>
pub fn tamp2trg( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1TRG_A, BitM, 25>
Bit 25 - TAMP2TRG
pub fn tamp3trg(
&mut self
) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1TRG_A, BitM, 26>
pub fn tamp3trg( &mut self ) -> BitWriterRaw<'_, u32, CR2_SPEC, TAMP1TRG_A, BitM, 26>
Bit 26 - TAMP3TRG
Methods from Deref<Target = W<CR2_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more