pub struct W(_);
Expand description
Register ENSHIFT
writer
Implementations§
§impl W
impl W
pub fn enable_shift(
&mut self
) -> FieldWriterRaw<'_, u32, ENSHIFT_SPEC, u8, u8, Unsafe, 4, 0>
pub fn enable_shift(
&mut self
) -> FieldWriterRaw<'_, u32, ENSHIFT_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3 - Control for the amount of phase shift provided on the default enables in the design.Two bits assigned for each card. 2’b00-Default phase shift. 2’b01-Enables shifted to next immediate positive edge. 2’b10-Enables shifted to next immediate negative edge. 2’b11-Reserved.
Methods from Deref<Target = W<ENSHIFT_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.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<ENSHIFT_SPEC>> for W
impl From<W<ENSHIFT_SPEC>> for W
§fn from(writer: W<ENSHIFT_SPEC>) -> W
fn from(writer: W<ENSHIFT_SPEC>) -> W
Converts to this type from the input type.