pub struct THRESHOLD_SPEC;
Expand description
Channel internal counter threshold
You can read
this register and get threshold::R
. You can reset
, write
, write_with_zero
this register using threshold::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for THRESHOLD_SPEC
impl RegisterSpec for THRESHOLD_SPEC
Source§impl Resettable for THRESHOLD_SPEC
reset()
method sets threshold[%s]
to value 0
impl Resettable for THRESHOLD_SPEC
reset()
method sets threshold[%s]
to value 0
Source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <pwm::group::threshold::THRESHOLD_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <pwm::group::threshold::THRESHOLD_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 THRESHOLD_SPEC
write(|w| ..)
method takes threshold::W
writer structure
impl Writable for THRESHOLD_SPEC
write(|w| ..)
method takes threshold::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <pwm::group::threshold::THRESHOLD_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <pwm::group::threshold::THRESHOLD_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): <pwm::group::threshold::THRESHOLD_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <pwm::group::threshold::THRESHOLD_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 THRESHOLD_SPEC
read()
method returns threshold::R
reader structure
Auto Trait Implementations§
impl Freeze for THRESHOLD_SPEC
impl RefUnwindSafe for THRESHOLD_SPEC
impl Send for THRESHOLD_SPEC
impl Sync for THRESHOLD_SPEC
impl Unpin for THRESHOLD_SPEC
impl UnwindSafe for THRESHOLD_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