#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - CRS control register"]
pub crs_cr: CRS_CR,
#[doc = "0x04 - This register can be written only when the frequency error counter is disabled (CEN bit is cleared in CRS_CR). When the counter is enabled, this register is write-protected."]
pub crs_cfgr: CRS_CFGR,
#[doc = "0x08 - CRS interrupt and status register"]
pub crs_isr: CRS_ISR,
#[doc = "0x0c - CRS interrupt flag clear register"]
pub crs_icr: CRS_ICR,
}
#[doc = "CRS control register"]
pub struct CRS_CR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRS control register"]
pub mod crs_cr;
#[doc = "This register can be written only when the frequency error counter is disabled (CEN bit is cleared in CRS_CR). When the counter is enabled, this register is write-protected."]
pub struct CRS_CFGR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "This register can be written only when the frequency error counter is disabled (CEN bit is cleared in CRS_CR). When the counter is enabled, this register is write-protected."]
pub mod crs_cfgr;
#[doc = "CRS interrupt and status register"]
pub struct CRS_ISR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRS interrupt and status register"]
pub mod crs_isr;
#[doc = "CRS interrupt flag clear register"]
pub struct CRS_ICR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "CRS interrupt flag clear register"]
pub mod crs_icr;