pub struct TIMER_CMP_SPEC;
Expand description
Ledc timer%s compare value register.
You can read
this register and get timer_cmp::R
. You can reset
, write
, write_with_zero
this register using timer_cmp::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for TIMER_CMP_SPEC
impl RegisterSpec for TIMER_CMP_SPEC
Source§impl Resettable for TIMER_CMP_SPEC
reset()
method sets TIMER%s_CMP to value 0
impl Resettable for TIMER_CMP_SPEC
reset()
method sets TIMER%s_CMP to value 0
Source§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
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 TIMER_CMP_SPEC
write(|w| ..)
method takes timer_cmp::W
writer structure
impl Writable for TIMER_CMP_SPEC
write(|w| ..)
method takes timer_cmp::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
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 = <Self::Ux>::ZERO
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for TIMER_CMP_SPEC
read()
method returns timer_cmp::R
reader structure
Auto Trait Implementations§
impl Freeze for TIMER_CMP_SPEC
impl RefUnwindSafe for TIMER_CMP_SPEC
impl Send for TIMER_CMP_SPEC
impl Sync for TIMER_CMP_SPEC
impl Unpin for TIMER_CMP_SPEC
impl UnwindSafe for TIMER_CMP_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