pub type W = crate::W<CICRrs>;
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum LSIRDYCW {
Clear = 1,
}
impl From<LSIRDYCW> for bool {
#[inline(always)]
fn from(variant: LSIRDYCW) -> Self {
variant as u8 != 0
}
}
pub type LSIRDYC_W<'a, REG> = crate::BitWriter<'a, REG, LSIRDYCW>;
impl<'a, REG> LSIRDYC_W<'a, REG>
where
REG: crate::Writable + crate::RegisterSpec,
{
#[inline(always)]
pub fn clear(self) -> &'a mut crate::W<REG> {
self.variant(LSIRDYCW::Clear)
}
}
pub use LSIRDYC_W as LSERDYC_W;
pub use LSIRDYC_W as HSI16RDYC_W;
pub use LSIRDYC_W as HSERDYC_W;
pub use LSIRDYC_W as PLLRDYC_W;
pub use LSIRDYC_W as MSIRDYC_W;
pub use LSIRDYC_W as HSI48RDYC_W;
pub use LSIRDYC_W as CSSLSEC_W;
pub use LSIRDYC_W as CSSHSEC_W;
impl core::fmt::Debug for crate::generic::Reg<CICRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn lsirdyc(&mut self) -> LSIRDYC_W<CICRrs> {
LSIRDYC_W::new(self, 0)
}
#[inline(always)]
pub fn lserdyc(&mut self) -> LSERDYC_W<CICRrs> {
LSERDYC_W::new(self, 1)
}
#[inline(always)]
pub fn hsi16rdyc(&mut self) -> HSI16RDYC_W<CICRrs> {
HSI16RDYC_W::new(self, 2)
}
#[inline(always)]
pub fn hserdyc(&mut self) -> HSERDYC_W<CICRrs> {
HSERDYC_W::new(self, 3)
}
#[inline(always)]
pub fn pllrdyc(&mut self) -> PLLRDYC_W<CICRrs> {
PLLRDYC_W::new(self, 4)
}
#[inline(always)]
pub fn msirdyc(&mut self) -> MSIRDYC_W<CICRrs> {
MSIRDYC_W::new(self, 5)
}
#[inline(always)]
pub fn hsi48rdyc(&mut self) -> HSI48RDYC_W<CICRrs> {
HSI48RDYC_W::new(self, 6)
}
#[inline(always)]
pub fn csslsec(&mut self) -> CSSLSEC_W<CICRrs> {
CSSLSEC_W::new(self, 7)
}
#[inline(always)]
pub fn csshsec(&mut self) -> CSSHSEC_W<CICRrs> {
CSSHSEC_W::new(self, 8)
}
}
pub struct CICRrs;
impl crate::RegisterSpec for CICRrs {
type Ux = u32;
}
impl crate::Writable for CICRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CICRrs {}