pub struct PULSE_WIDTH_SPEC;
Expand description
Pulse-Width Modulator control
You can read
this register and get pulse_width::R
. You can reset
, write
, write_with_zero
this register using pulse_width::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for PULSE_WIDTH_SPEC
impl RegisterSpec for PULSE_WIDTH_SPEC
Source§impl Resettable for PULSE_WIDTH_SPEC
reset()
method sets pulse_width to value 0
impl Resettable for PULSE_WIDTH_SPEC
reset()
method sets pulse_width to value 0
Source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <auadc::pulse_width::PULSE_WIDTH_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <auadc::pulse_width::PULSE_WIDTH_SPEC as generic::RegisterSpec>::Ux}
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for PULSE_WIDTH_SPEC
write(|w| ..)
method takes pulse_width::W
writer structure
impl Writable for PULSE_WIDTH_SPEC
write(|w| ..)
method takes pulse_width::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <auadc::pulse_width::PULSE_WIDTH_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <auadc::pulse_width::PULSE_WIDTH_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
Source§const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <auadc::pulse_width::PULSE_WIDTH_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <auadc::pulse_width::PULSE_WIDTH_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for PULSE_WIDTH_SPEC
read()
method returns pulse_width::R
reader structure
Auto Trait Implementations§
impl Freeze for PULSE_WIDTH_SPEC
impl RefUnwindSafe for PULSE_WIDTH_SPEC
impl Send for PULSE_WIDTH_SPEC
impl Sync for PULSE_WIDTH_SPEC
impl Unpin for PULSE_WIDTH_SPEC
impl UnwindSafe for PULSE_WIDTH_SPEC
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