Struct stm32wlxx_hal::pac::ipcc::c1scr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C1SCR
writer
Implementations§
§impl W
impl W
pub fn ch1c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 0>
pub fn ch1c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 0>
Bit 0 - CH1C
pub fn ch2c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 1>
pub fn ch2c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 1>
Bit 1 - CH2C
pub fn ch3c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 2>
pub fn ch3c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 2>
Bit 2 - CH3C
pub fn ch4c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 3>
pub fn ch4c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 3>
Bit 3 - CH4C
pub fn ch5c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 4>
pub fn ch5c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 4>
Bit 4 - CH5C
pub fn ch6c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 5>
pub fn ch6c(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1C_A, BitM, 5>
Bit 5 - CH6C
pub fn ch1s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 16>
pub fn ch1s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 16>
Bit 16 - CH1S
pub fn ch2s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 17>
pub fn ch2s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 17>
Bit 17 - CH2S
pub fn ch3s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 18>
pub fn ch3s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 18>
Bit 18 - CH3S
pub fn ch4s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 19>
pub fn ch4s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 19>
Bit 19 - CH4S
pub fn ch5s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 20>
pub fn ch5s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 20>
Bit 20 - CH5S
pub fn ch6s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 21>
pub fn ch6s(&mut self) -> BitWriterRaw<'_, u32, C1SCR_SPEC, CH1S_A, BitM, 21>
Bit 21 - CH6S
Methods from Deref<Target = W<C1SCR_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<C1SCR_SPEC>> for W
impl From<W<C1SCR_SPEC>> for W
§fn from(writer: W<C1SCR_SPEC>) -> W
fn from(writer: W<C1SCR_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