pub struct W(/* private fields */);
Expand description
Register CFGR1
writer
Implementations§
§impl W
impl W
pub fn sitp(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 0>
pub fn sitp( &mut self ) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Serial interface type for channel 0
pub fn spicksel(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 2>
pub fn spicksel( &mut self ) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - SPI clock select for channel 0
pub fn scden(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 5>
pub fn scden(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 5>
Bit 5 - Short-circuit detector enable on channel 0
pub fn ckaben(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 6>
pub fn ckaben(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 6>
Bit 6 - Clock absence detector enable on channel 0
pub fn chen(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 7>
pub fn chen(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 7>
Bit 7 - Channel 0 enable
pub fn chinsel(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 8>
pub fn chinsel(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 8>
Bit 8 - Channel inputs selection
pub fn datmpx(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 12>
pub fn datmpx( &mut self ) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - Input data multiplexer for channel 0
pub fn datpack(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 14>
pub fn datpack( &mut self ) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - Data packing mode in DFSDM_CHDATINyR register
pub fn ckoutdiv(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 8, 16>
pub fn ckoutdiv( &mut self ) -> FieldWriterRaw<'_, u32, CFGR1_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - Output serial clock divider
pub fn ckoutsrc(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 30>
pub fn ckoutsrc(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 30>
Bit 30 - Output serial clock source selection
pub fn dfsdmen(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 31>
pub fn dfsdmen(&mut self) -> BitWriterRaw<'_, u32, CFGR1_SPEC, bool, BitM, 31>
Bit 31 - Global enable for DFSDM interface
Methods from Deref<Target = W<CFGR1_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<CFGR1_SPEC>> for W
impl From<W<CFGR1_SPEC>> for W
§fn from(writer: W<CFGR1_SPEC>) -> W
fn from(writer: W<CFGR1_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> 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