Struct stm32wlxx_hal::pac::gpioc::otyper::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register OTYPER
writer
Implementations§
§impl W
impl W
pub fn ot15(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 15>
pub fn ot15(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 15>
Bit 15 - Port x configuration bits (y = 0..15)
pub fn ot14(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 14>
pub fn ot14(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 14>
Bit 14 - Port x configuration bits (y = 0..15)
pub fn ot13(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 13>
pub fn ot13(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 13>
Bit 13 - Port x configuration bits (y = 0..15)
pub fn ot6(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 6>
pub fn ot6(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 6>
Bit 6 - Port x configuration bits (y = 0..15)
pub fn ot5(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 5>
pub fn ot5(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 5>
Bit 5 - Port x configuration bits (y = 0..15)
pub fn ot4(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 4>
pub fn ot4(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 4>
Bit 4 - Port x configuration bits (y = 0..15)
pub fn ot3(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 3>
pub fn ot3(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 3>
Bit 3 - Port x configuration bits (y = 0..15)
pub fn ot2(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 2>
pub fn ot2(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 2>
Bit 2 - Port x configuration bits (y = 0..15)
pub fn ot1(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 1>
pub fn ot1(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 1>
Bit 1 - Port x configuration bits (y = 0..15)
pub fn ot0(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 0>
pub fn ot0(&mut self) -> BitWriterRaw<'_, u32, OTYPER_SPEC, OT0_A, BitM, 0>
Bit 0 - Port x configuration bits (y = 0..15)
Methods from Deref<Target = W<OTYPER_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§
§impl From<W<OTYPER_SPEC>> for W
impl From<W<OTYPER_SPEC>> for W
§fn from(writer: W<OTYPER_SPEC>) -> W
fn from(writer: W<OTYPER_SPEC>) -> W
Converts to this type from the input type.
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