atsamd51g19a/oscctrl/dpll/
dpllstatus.rs1#[doc = "Reader of register DPLLSTATUS"]
2pub type R = crate::R<u32, super::DPLLSTATUS>;
3#[doc = "Reader of field `LOCK`"]
4pub type LOCK_R = crate::R<bool, bool>;
5#[doc = "Reader of field `CLKRDY`"]
6pub type CLKRDY_R = crate::R<bool, bool>;
7impl R {
8 #[doc = "Bit 0 - DPLL Lock Status"]
9 #[inline(always)]
10 pub fn lock(&self) -> LOCK_R {
11 LOCK_R::new((self.bits & 0x01) != 0)
12 }
13 #[doc = "Bit 1 - DPLL Clock Ready"]
14 #[inline(always)]
15 pub fn clkrdy(&self) -> CLKRDY_R {
16 CLKRDY_R::new(((self.bits >> 1) & 0x01) != 0)
17 }
18}