pub struct FREQA_SPEC;
Expand description
The FREQA & FREQB registers control the frequency by controlling the drive strength of each stage
The drive strength has 4 levels determined by the number of bits set
Increasing the number of bits set increases the drive strength and increases the oscillation frequency
0 bits set is the default drive strength
1 bit set doubles the drive strength
2 bits set triples drive strength
3 bits set quadruples drive strength
You can read
this register and get freqa::R
. You can reset
, write
, write_with_zero
this register using freqa::W
. You can also modify
this register. See API.
Trait Implementations§
Source§impl RegisterSpec for FREQA_SPEC
impl RegisterSpec for FREQA_SPEC
Source§impl Resettable for FREQA_SPEC
reset()
method sets FREQA to value 0
impl Resettable for FREQA_SPEC
reset()
method sets FREQA to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
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 FREQA_SPEC
write(|w| ..)
method takes freqa::W
writer structure
impl Writable for FREQA_SPEC
write(|w| ..)
method takes freqa::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
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: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for FREQA_SPEC
read()
method returns freqa::R
reader structure
Auto Trait Implementations§
impl Freeze for FREQA_SPEC
impl RefUnwindSafe for FREQA_SPEC
impl Send for FREQA_SPEC
impl Sync for FREQA_SPEC
impl Unpin for FREQA_SPEC
impl UnwindSafe for FREQA_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