pub struct W(/* private fields */);
Expand description
Register CCR%s
writer
Implementations§
§impl W
impl W
pub fn dmareq_id(
&mut self
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, DMAREQ_ID_A, Unsafe, 8, 0>
pub fn dmareq_id( &mut self ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, DMAREQ_ID_A, Unsafe, 8, 0>
Bits 0:7 - Input DMA request line selected
pub fn soie(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, SOIE_A, BitM, 8>
pub fn soie(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, SOIE_A, BitM, 8>
Bit 8 - Interrupt enable at synchronization event overrun
pub fn ege(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, EGE_A, BitM, 9>
pub fn ege(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, EGE_A, BitM, 9>
Bit 9 - Event generation enable/disable
pub fn se(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, SE_A, BitM, 16>
pub fn se(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, SE_A, BitM, 16>
Bit 16 - Synchronous operating mode enable/disable
pub fn spol(
&mut self
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, SPOL_A, Safe, 2, 17>
pub fn spol( &mut self ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, SPOL_A, Safe, 2, 17>
Bits 17:18 - Synchronization event type selector Defines the synchronization event on the selected synchronization input:
pub fn nbreq(
&mut self
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Safe, 5, 19>
pub fn nbreq( &mut self ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Safe, 5, 19>
Bits 19:23 - Number of DMA requests to forward Defines the number of DMA requests forwarded before output event is generated. In synchronous mode, it also defines the number of DMA requests to forward after a synchronization event, then stop forwarding. The actual number of DMA requests forwarded is NBREQ+1. Note: This field can only be written when both SE and EGE bits are reset.
Methods from Deref<Target = W<CCR_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§
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