Struct stm32wlxx_hal::pac::pwr::pdcra::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register PDCRA
writer
Implementations§
§impl W
impl W
pub fn pd15(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 15>
pub fn pd15(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 15>
Bit 15 - PD15
pub fn pd14(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 14>
pub fn pd14(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 14>
Bit 14 - ull-down
pub fn pd13(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 13>
pub fn pd13(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 13>
Bit 13 - PD13
pub fn pd12(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 12>
pub fn pd12(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 12>
Bit 12 - Port PA[y] pull-down (y=0 to 12)
pub fn pd11(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 11>
pub fn pd11(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 11>
Bit 11 - PD11
pub fn pd10(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 10>
pub fn pd10(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD10_A, BitM, 10>
Bit 10 - PD10
pub fn pd9(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 9>
pub fn pd9(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 9>
Bit 9 - PD9
pub fn pd8(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 8>
pub fn pd8(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 8>
Bit 8 - PD8
pub fn pd7(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 7>
pub fn pd7(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 7>
Bit 7 - PD7
pub fn pd6(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 6>
pub fn pd6(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 6>
Bit 6 - PD6
pub fn pd5(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 5>
pub fn pd5(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 5>
Bit 5 - PD5
pub fn pd4(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 4>
pub fn pd4(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 4>
Bit 4 - PD4
pub fn pd3(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 3>
pub fn pd3(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 3>
Bit 3 - PD3
pub fn pd2(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 2>
pub fn pd2(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 2>
Bit 2 - PD2
pub fn pd1(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 1>
pub fn pd1(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 1>
Bit 1 - PD1
pub fn pd0(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 0>
pub fn pd0(&mut self) -> BitWriterRaw<'_, u32, PDCRA_SPEC, PD0_A, BitM, 0>
Bit 0 - PD0
Methods from Deref<Target = W<PDCRA_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<PDCRA_SPEC>> for W
impl From<W<PDCRA_SPEC>> for W
§fn from(writer: W<PDCRA_SPEC>) -> W
fn from(writer: W<PDCRA_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