pub struct W(/* private fields */);
Expand description
Register AMTCR
writer
Implementations§
source§impl 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§
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