pub struct CLK_REF_SELECTED_SPEC;
Expand description
Indicates which SRC is currently selected by the glitchless mux (one-hot).
The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s.
You can read
this register and get clk_ref_selected::R
. See API.
Trait Implementations§
Source§impl RegisterSpec for CLK_REF_SELECTED_SPEC
impl RegisterSpec for CLK_REF_SELECTED_SPEC
Source§impl Resettable for CLK_REF_SELECTED_SPEC
reset()
method sets CLK_REF_SELECTED to value 0x01
impl Resettable for CLK_REF_SELECTED_SPEC
reset()
method sets CLK_REF_SELECTED to value 0x01
Source§const RESET_VALUE: u32 = 1u32
const RESET_VALUE: u32 = 1u32
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for CLK_REF_SELECTED_SPEC
read()
method returns clk_ref_selected::R
reader structure
Auto Trait Implementations§
impl Freeze for CLK_REF_SELECTED_SPEC
impl RefUnwindSafe for CLK_REF_SELECTED_SPEC
impl Send for CLK_REF_SELECTED_SPEC
impl Sync for CLK_REF_SELECTED_SPEC
impl Unpin for CLK_REF_SELECTED_SPEC
impl UnwindSafe for CLK_REF_SELECTED_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