#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
csr: CSR,
ccr: CCR,
}
impl RegisterBlock {
#[doc = "0x00 - VREFBUF control and status register"]
#[inline(always)]
pub const fn csr(&self) -> &CSR {
&self.csr
}
#[doc = "0x04 - VREFBUF calibration control register"]
#[inline(always)]
pub const fn ccr(&self) -> &CCR {
&self.ccr
}
}
#[doc = "CSR (rw) register accessor: VREFBUF control and status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`csr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`csr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@csr`]
module"]
pub type CSR = crate::Reg<csr::CSRrs>;
#[doc = "VREFBUF control and status register"]
pub mod csr;
#[doc = "CCR (rw) register accessor: VREFBUF calibration control register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ccr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ccr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ccr`]
module"]
pub type CCR = crate::Reg<ccr::CCRrs>;
#[doc = "VREFBUF calibration control register"]
pub mod ccr;