Struct Ftmopt1Spec
pub struct Ftmopt1Spec;Expand description
FTM Option Register 1
You can read this register and get ftmopt1::R. You can reset, write, write_with_zero this register using ftmopt1::W. You can also modify this register. See API.
Trait Implementations§
§impl RegisterSpec for Ftmopt1Spec
impl RegisterSpec for Ftmopt1Spec
§impl Resettable for Ftmopt1Spec
reset() method sets FTMOPT1 to value 0
impl Resettable for Ftmopt1Spec
reset() method sets FTMOPT1 to value 0
§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
Reset value of the register.
§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
§impl Writable for Ftmopt1Spec
write(|w| ..) method takes ftmopt1::W writer structure
impl Writable for Ftmopt1Spec
write(|w| ..) method takes ftmopt1::W writer structure
§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§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 1impl Readable for Ftmopt1Spec
read() method returns ftmopt1::R reader structure
Auto Trait Implementations§
impl Freeze for Ftmopt1Spec
impl RefUnwindSafe for Ftmopt1Spec
impl Send for Ftmopt1Spec
impl Sync for Ftmopt1Spec
impl Unpin for Ftmopt1Spec
impl UnwindSafe for Ftmopt1Spec
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