pub struct W(_);
Expand description
Register AMTCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn en(&mut self) -> BitWriterRaw<'_, u32, AMTCR_SPEC, EN_A, BitM, 0>
pub fn en(&mut self) -> BitWriterRaw<'_, u32, AMTCR_SPEC, EN_A, BitM, 0>
Bit 0 - Enable Enables the dead time functionality.
sourcepub fn dt(&mut self) -> FieldWriterRaw<'_, u32, AMTCR_SPEC, u8, u8, Safe, 8, 8>
pub fn dt(&mut self) -> FieldWriterRaw<'_, u32, AMTCR_SPEC, u8, u8, Safe, 8, 8>
Bits 8:15 - Dead Time Dead time value in the AXI clock cycle inserted between two consecutive accesses on the AXI master port. These bits represent the minimum guaranteed number of cycles between two consecutive AXI accesses.
Methods from Deref<Target = W<AMTCR_SPEC>>
sourcepub 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
sourceimpl From<W<AMTCR_SPEC>> for W
impl From<W<AMTCR_SPEC>> for W
sourcefn from(writer: W<AMTCR_SPEC>) -> W
fn from(writer: W<AMTCR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more