1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#[doc = "Register `CLK_SYS_SELECTED` reader"]
pub type R = crate::R<CLK_SYS_SELECTED_SPEC>;
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        write!(f, "{}", self.bits())
    }
}
impl core::fmt::Debug for crate::generic::Reg<CLK_SYS_SELECTED_SPEC> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        core::fmt::Debug::fmt(&self.read(), f)
    }
}
#[doc = "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`](crate::generic::Reg::read) this register and get [`clk_sys_selected::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CLK_SYS_SELECTED_SPEC;
impl crate::RegisterSpec for CLK_SYS_SELECTED_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`clk_sys_selected::R`](R) reader structure"]
impl crate::Readable for CLK_SYS_SELECTED_SPEC {}
#[doc = "`reset()` method sets CLK_SYS_SELECTED to value 0x01"]
impl crate::Resettable for CLK_SYS_SELECTED_SPEC {
    const RESET_VALUE: u32 = 0x01;
}